diff options
author | Andrew Dolgov <[email protected]> | 2019-06-18 14:19:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-06-18 14:19:03 +0300 |
commit | c78af7d56c4d2dbc46ffa1ebebc6d0bbf802e35b (patch) | |
tree | 2a05a6248b0af7f93a3bacaf18cca071e5e945be /js/reader.js | |
parent | 506a5a877ead4e4e756b645d3e0a303509ea10ec (diff) |
switch to jquery mobile events; use doubletap to toggle fullscreen
Diffstat (limited to 'js/reader.js')
-rw-r--r-- | js/reader.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js index 7178aec..bc4db56 100644 --- a/js/reader.js +++ b/js/reader.js @@ -13,6 +13,11 @@ function enable_swipes() { } $(document).ready(function() { + + $(window).on("doubletap", function(evt) { + parent.toggle_fullscreen(); + }); + $(window).on("click tap", function(evt) { if (evt.button == 0) { |