summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-06-18 14:19:03 +0300
committerAndrew Dolgov <[email protected]>2019-06-18 14:19:03 +0300
commitc78af7d56c4d2dbc46ffa1ebebc6d0bbf802e35b (patch)
tree2a05a6248b0af7f93a3bacaf18cca071e5e945be /js/read.js
parent506a5a877ead4e4e756b645d3e0a303509ea10ec (diff)
switch to jquery mobile events; use doubletap to toggle fullscreen
Diffstat (limited to 'js/read.js')
-rw-r--r--js/read.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/read.js b/js/read.js
index 262c67f..9e86502 100644
--- a/js/read.js
+++ b/js/read.js
@@ -20,7 +20,7 @@ function cacheId(suffix) {
function init_loader() {
// we need to preload resources for reader iframe because it can't utilize our
// service worker because while offline it is created outside our base server context
- const res_names = [ "lib/bootstrap/v3/js/jquery.js", "lib/jquery.mobile.custom.js",
+ const res_names = [ "lib/bootstrap/v3/js/jquery.js", "lib/jquery.mobile-events.min.js",
"css/transitions.css",
"js/reader.js", "css/reader.css", "js/dict.js",
"themes/default.css", "themes/mocca.css", "themes/night.css",
@@ -241,7 +241,7 @@ function init_reader() {
});
const base_url = window.location.href.match(/^.*\//)[0];
- const res_names = [ "lib/bootstrap/v3/js/jquery.js", "lib/jquery.mobile.custom.js",
+ const res_names = [ "lib/bootstrap/v3/js/jquery.js", "lib/jquery.mobile-events.min.js",
"js/reader.js", "js/dict.js" ];
const doc = contents.document;