summaryrefslogtreecommitdiff
path: root/js/reader_iframe.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-11-20 21:11:45 +0300
committerAndrew Dolgov <[email protected]>2020-11-20 21:11:45 +0300
commit8104cc10e74bcf92c0cce9e736ab7755ec8c7998 (patch)
treec8a3a29bcdc681aeca66aae237bdf13c7f8b6a49 /js/reader_iframe.js
parent2fe839fb75aef28df18ebb31a032604351880949 (diff)
App.onLine() is not a property
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);