summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-20 23:46:18 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-21 19:41:47 +0200
commitf8a5753431e7bc63a091bb32437ad3daab77efcf (patch)
treeffb0fa91f880d771fb39a442154e526533cbfbaa
parent8e2271a306f77f253774d5fec6e254be1a3dd137 (diff)
downloadserver-f8a5753431e7bc63a091bb32437ad3daab77efcf.tar.gz
Only toggle fullscreen when double tapping on header.
-rw-r--r--public/common/client.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/public/common/client.js b/public/common/client.js
index d911ecc..2d6e94d 100644
--- a/public/common/client.js
+++ b/public/common/client.js
@@ -791,7 +791,6 @@ function toggle_fullscreen() {
if ("ontouchstart" in window) {
document.querySelector("header").ondblclick = toggle_fullscreen
- document.querySelector("main").ondblclick = toggle_fullscreen
}
/* SNAPSHOT VIEW */