summaryrefslogtreecommitdiff
path: root/web/js/index
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-27 17:44:02 +0300
committerDevaev Maxim <[email protected]>2018-11-27 17:44:02 +0300
commit6c2d8900f53cca2f5e0980f8ac038566080986a9 (patch)
treee4cc9e231e20c011b4a7666ac6ca5b6457ff5d70 /web/js/index
parent2cea16a978f475aa2b12d49d7ac2eccfd5c6892f (diff)
refactoring
Diffstat (limited to 'web/js/index')
-rw-r--r--web/js/index/main.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/js/index/main.js b/web/js/index/main.js
index ba82ed2f..ea38245a 100644
--- a/web/js/index/main.js
+++ b/web/js/index/main.js
@@ -1,6 +1,8 @@
function main() {
- __setAppText();
- __loadKvmdInfo();
+ if (checkBrowser()) {
+ __setAppText();
+ __loadKvmdInfo();
+ }
}
function __setAppText() {