diff options
author | Andrew Dolgov <[email protected]> | 2017-02-26 17:37:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-26 17:37:37 +0300 |
commit | 6f11b1d2856359aaca5f7ecc27eec8f27e6d8ce6 (patch) | |
tree | c1df684dd1896cacfb0ad84833def598530bdf87 /js/index.js | |
parent | e3c6ca80943ef45079ab0557e9b7a985146d21eb (diff) |
do not regenerate entire offline list when something is removed
Diffstat (limited to 'js/index.js')
-rw-r--r-- | js/index.js | 2 |
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(); }); }; |