summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/index.js')
-rw-r--r--js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js
index 5c138c2..87279c2 100644
--- a/js/index.js
+++ b/js/index.js
@@ -9,7 +9,7 @@ function mark_offline_books() {
if (book) {
elem.onclick = function() {
- offline_remove(elem, function() {
+ offline_remove(bookId, function() {
mark_offline_books();
});
};