diff options
author | hackademix <giorgio@maone.net> | 2019-01-28 15:50:21 +0100 |
---|---|---|
committer | hackademix <giorgio@maone.net> | 2019-01-28 15:50:21 +0100 |
commit | 1f705c122dfe7b9ec0cd956c5188b907e6e8e4b8 (patch) | |
tree | 6153e2b7fc712d0ba2aa6ce604cf34b2417a9ef6 /html/mobile.js | |
parent | 5040061a3991d2159d9e0fc04237185686fcf189 (diff) |
Mobile-friendly UI sizing in CSS.
Diffstat (limited to 'html/mobile.js')
-rw-r--r-- | html/mobile.js | 1 |
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); |