Skip to content

Commit bb7e874

Browse files
committed
fix: update condition for read status
1 parent 542c0c1 commit bb7e874

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
@@ -76,7 +76,7 @@ function render() {
7676
changeBut.className = "btn btn-success";
7777
wasReadCell.appendChild(changeBut);
7878
let readStatus = "";
79-
if (myLibrary[i].check == false) {
79+
if (myLibrary[i].check === true) {
8080
readStatus = "Yes";
8181
} else {
8282
readStatus = "No";

0 commit comments

Comments
 (0)