1521740138
This commit is contained in:
parent
ab12d19369
commit
dbbecb6b72
2
app.js
2
app.js
@ -48,6 +48,8 @@ function deleteBook(bookId) {
|
|||||||
|
|
||||||
let rowElement = document.getElementById("bookRow"+bookId);
|
let rowElement = document.getElementById("bookRow"+bookId);
|
||||||
bookTable.removeChild(rowElement);
|
bookTable.removeChild(rowElement);
|
||||||
|
|
||||||
|
delete books[bookId];
|
||||||
}
|
}
|
||||||
|
|
||||||
function editBook(bookId) {
|
function editBook(bookId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user