summaryrefslogtreecommitdiff
path: root/js/reader_iframe.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reader_iframe.js')
-rw-r--r--js/reader_iframe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reader_iframe.js b/js/reader_iframe.js
index c58061e..7999da0 100644
--- a/js/reader_iframe.js
+++ b/js/reader_iframe.js
@@ -61,7 +61,7 @@ $(document).ready(function() {
let selectionChangeTimeout = null;
$(document).on("selectionchange", function() {
- if (!App.onLine) return;
+ if (!App.onLine()) return;
window.clearTimeout(selectionChangeTimeout);