summaryrefslogtreecommitdiff
path: root/js/reader_iframe.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-11-21 19:03:23 +0300
committerAndrew Dolgov <[email protected]>2020-11-21 19:03:23 +0300
commit2d22ff140adad2d6aabf7d7e0f9242fbddf6c672 (patch)
treefb5898473f40707a5630776837429997cc6df44f /js/reader_iframe.js
parent8193d20d390c1fc4038ce586fc27ad52b3b8b9d0 (diff)
App.onLine -> App.isOnline
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 7999da0..6baf788 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.isOnline()) return;
window.clearTimeout(selectionChangeTimeout);