Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug of favorites icon in the favorites menu
Dynamically: 1. update the icon on mouse click (was already done). 2. choose the default icon in the modal's HTML of each book, so that it works when going to favorites menu too. Move the `index` variable at the top, so that it can be accessed within the prototype. * Bug: * add book to favorites. * Go to Favorites menu. * The fav icon of each book should be filled, but it wasn't.
- Loading branch information