summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
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));
});
});