diff options
author | Andrew Dolgov <[email protected]> | 2020-11-20 21:11:45 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-11-20 21:11:45 +0300 |
commit | 8104cc10e74bcf92c0cce9e736ab7755ec8c7998 (patch) | |
tree | c8a3a29bcdc681aeca66aae237bdf13c7f8b6a49 /js/reader_iframe.js | |
parent | 2fe839fb75aef28df18ebb31a032604351880949 (diff) |
App.onLine() is not a property
Diffstat (limited to 'js/reader_iframe.js')
-rw-r--r-- | js/reader_iframe.js | 2 |
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); |