diff options
Diffstat (limited to 'src/ui/ui.js')
-rw-r--r-- | src/ui/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui.js b/src/ui/ui.js index dafba4f..f562edd 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -21,7 +21,7 @@ var UI = (() => { "/lib/tld.js", "/common/Policy.js", ]; - this.mobile = !("windows" in browser); + this.mobile = UA.mobile; if (this.mobile) { document.documentElement.classList.toggle("mobile", true); scripts.push("/lib/fastclick.js"); |