aboutsummaryrefslogtreecommitdiff
path: root/html/mobile.js
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2019-01-21 22:48:28 +0100
committerhackademix <giorgio@maone.net>2019-01-28 12:09:36 +0100
commit31db0b4ea7a232dd22d96b2dd9a7dbddeaef841a (patch)
tree780e599413a57b12335261161b0a18116a20cf71 /html/mobile.js
parentff127defab45ac725ed1e89e9d95cb7d6b98d013 (diff)
Mobile awareness in UI panels.
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
new file mode 100644
index 0000000..67930ae
--- /dev/null
+++ b/html/mobile.js
@@ -0,0 +1 @@
+window.isMobile = !("windows" in browser);