diff options
Diffstat (limited to 'js/common.js')
-rw-r--r-- | js/common.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/common.js b/js/common.js index 34467ae..a400a17 100644 --- a/js/common.js +++ b/js/common.js @@ -1,8 +1,7 @@ -function offline_remove(elem, callback) { +function offline_remove(id, callback) { if (confirm("Remove download?")) { - var id = elem.getAttribute("data-book-id"); var cacheId = "epube-book." + id; var promises = []; |