diff options
author | Maxim Devaev <[email protected]> | 2022-10-16 23:51:27 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-10-16 23:51:27 +0300 |
commit | e5ed253d680b7831ce3a3b2603971620cf5eb644 (patch) | |
tree | a794e16a95c48d8b1a9a6028e067ebb1e128df1f /web/share/js/kvm/main.js | |
parent | 5d54b32ab603ba010125564bf550585a7348c390 (diff) |
fixed browser detection, loading css from js
Diffstat (limited to 'web/share/js/kvm/main.js')
-rw-r--r-- | web/share/js/kvm/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/main.js b/web/share/js/kvm/main.js index 3717f71d..6417da37 100644 --- a/web/share/js/kvm/main.js +++ b/web/share/js/kvm/main.js @@ -31,7 +31,7 @@ import {Session} from "./session.js"; export function main() { - if (checkBrowser()) { + if (checkBrowser(null, "/share/css/kvm/x-mobile.css")) { tools.storage.bindSimpleSwitch($("page-close-ask-switch"), "page.close.ask", true, function(value) { if (value) { window.onbeforeunload = function(event) { |