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