summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js5
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) {