aboutsummaryrefslogtreecommitdiff
path: root/html/mobile.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/mobile.js')
-rw-r--r--html/mobile.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/html/mobile.js b/html/mobile.js
index ae80a63..f824046 100644
--- a/html/mobile.js
+++ b/html/mobile.js
@@ -1,5 +1,6 @@
window.isMobile = !("windows" in browser);
if (isMobile) {
+ document.documentElement.classList.add("mobile");
let s = document.createElement("script");
s.src = "/html/fastclick.js";
document.head.appendChild(s);