summaryrefslogtreecommitdiff
path: root/assets/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/common.js')
-rw-r--r--assets/js/common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/common.js b/assets/js/common.js
index 4668316..6ccd25c 100644
--- a/assets/js/common.js
+++ b/assets/js/common.js
@@ -16,7 +16,7 @@ if (window.MistAndroid) {
document.head.append(style);
-if (navigator.userAgent.includes("MistNative/darwin") || navigator.userAgent.includes("MistNative/win32")) {
- document.getElementById("native-css").disabled = false;
+if (navigator.userAgent.includes("MistNative/darwin")) {
+ if (document.getElementById("native-css")) document.getElementById("native-css").disabled = false;
document.body.classList.remove("crossplatform");
} \ No newline at end of file