diff --git a/frontend/files/app.js b/frontend/files/app.js index c16e710..ae1b25b 100644 --- a/frontend/files/app.js +++ b/frontend/files/app.js @@ -137,6 +137,7 @@ function ISBNfromEAN(EAN) { function BookTemplate({ "isbn-13": isbn13, + "isbn-10": isbn10, authors, coverURL, description, @@ -153,7 +154,7 @@ function BookTemplate({

${title}

${authors}

- ${isbn13}
+ ${[isbn10, isbn13].join(" / ")}
${publisher}, ${year}
${ series @@ -167,6 +168,7 @@ function BookTemplate({ function TableRowTemplate({ "isbn-13": isbn13, + "isbn-10": isbn10, authors, publisher, rowNumber, @@ -183,7 +185,7 @@ function TableRowTemplate({ ${authors} ${publisher} ${year} - ${isbn13} + ${isbn13 ? isbn13 : isbn10} `; }