summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-13 12:22:21 +0300
committerAndrew Dolgov <[email protected]>2021-04-13 12:22:21 +0300
commit691d4fb49bfe25f00d78c2192dfd3bf9254716e6 (patch)
treecbe91259f3edcf60b591394ad082a2d5e9d2c739 /js/reader.js
parent47c256963ec90499e371bccfe15276cacb9b7ce5 (diff)
remove duplicate list of cached files from service worker
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js
index 20fcb4f..e580a9e 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -114,7 +114,7 @@ const Reader = {
}).error(function(xhr) {
$(".loading-message").html("Unable to load book info.<br/><small>" + xhr.status + "</small>");
- reject(new Error("unable to load book info: " + e));
+ reject(new Error("unable to load book info: " + xhr.status));
});
});