summaryrefslogtreecommitdiff
path: root/dist/reader_iframe.min.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 /dist/reader_iframe.min.js
parent2fe839fb75aef28df18ebb31a032604351880949 (diff)
App.onLine() is not a property
Diffstat (limited to 'dist/reader_iframe.min.js')
-rw-r--r--dist/reader_iframe.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/reader_iframe.min.js b/dist/reader_iframe.min.js
index 9280922..085e435 100644
--- a/dist/reader_iframe.min.js
+++ b/dist/reader_iframe.min.js
@@ -1 +1 @@
-"use strict";let Reader,App;function enable_swipes(){$(window).off("swipeleft swiperight"),$(window).on("swipeleft",(function(){Reader.Page.next()})),$(window).on("swiperight",(function(){Reader.Page.prev()}))}$(document).ready((function(){Reader=parent.__get_reader(),App=parent.__get_app(),$(window).on("click tap",(function(e){if(0==e.button){if($(".modal").is(":visible"))return;"undefined"!=typeof EpubeApp?EpubeApp.toggleActionBar():Reader.showUI(!0)}})),$(window).on("touchstart",(function(){enable_swipes()})),$(window).on("mousedown",(function(){$(window).off("swipeleft swiperight")})),$(window).on("wheel",(function(e){e.originalEvent.deltaY>0?Reader.Page.next():e.originalEvent.deltaY<0&&Reader.Page.prev()}));let e=null;$(document).on("selectionchange",(function(){App.onLine&&(window.clearTimeout(e),e=window.setTimeout((function(){const e=getSelection().toString().trim();e.match(/^[\w­]+$/)&&Reader.lookupWord(e,(function(){"undefined"!=typeof EpubeApp&&EpubeApp.showActionBar(!1),getSelection().removeAllRanges()}))}),250))})),enable_swipes()})); \ No newline at end of file
+"use strict";let Reader,App;function enable_swipes(){$(window).off("swipeleft swiperight"),$(window).on("swipeleft",(function(){Reader.Page.next()})),$(window).on("swiperight",(function(){Reader.Page.prev()}))}$(document).ready((function(){Reader=parent.__get_reader(),App=parent.__get_app(),$(window).on("click tap",(function(e){if(0==e.button){if($(".modal").is(":visible"))return;"undefined"!=typeof EpubeApp?EpubeApp.toggleActionBar():Reader.showUI(!0)}})),$(window).on("touchstart",(function(){enable_swipes()})),$(window).on("mousedown",(function(){$(window).off("swipeleft swiperight")})),$(window).on("wheel",(function(e){e.originalEvent.deltaY>0?Reader.Page.next():e.originalEvent.deltaY<0&&Reader.Page.prev()}));let e=null;$(document).on("selectionchange",(function(){App.onLine()&&(window.clearTimeout(e),e=window.setTimeout((function(){const e=getSelection().toString().trim();e.match(/^[\w­]+$/)&&Reader.lookupWord(e,(function(){"undefined"!=typeof EpubeApp&&EpubeApp.showActionBar(!1),getSelection().removeAllRanges()}))}),250))})),enable_swipes()})); \ No newline at end of file