Skip to content

Commit 478a62d

Browse files
committed
Fix delete button variable name causing render crash
1 parent 4136ae2 commit 478a62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debugging/book-library/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function render() {
8989
});
9090

9191
//add delete button to every row and render again
92-
let delButton = document.createElement("button");
92+
let delBut = document.createElement("button");
9393
delBut.id = i + 5;
9494
deleteCell.appendChild(delBut);
9595
delBut.className = "btn btn-warning";

0 commit comments

Comments
 (0)