diff options
Diffstat (limited to 'web/share/js/kvm')
-rw-r--r-- | web/share/js/kvm/mouse.js | 2 | ||||
-rw-r--r-- | web/share/js/kvm/ocr.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js index 894d64cf..a2c7e2c9 100644 --- a/web/share/js/kvm/mouse.js +++ b/web/share/js/kvm/mouse.js @@ -129,7 +129,7 @@ export function Mouse(__getGeometry, __recordWsEvent) { var __updateOnlineLeds = function() { let is_captured; if (__absolute) { - is_captured = (__stream_hovered || tools.browser.is_ios); + is_captured = (__stream_hovered || tools.browser.is_mobile); } else { is_captured = __isRelativeCaptured(); } diff --git a/web/share/js/kvm/ocr.js b/web/share/js/kvm/ocr.js index 5f410d91..fa69dff4 100644 --- a/web/share/js/kvm/ocr.js +++ b/web/share/js/kvm/ocr.js @@ -71,7 +71,7 @@ export function Ocr(__getGeometry) { /************************************************************************/ self.setState = function(state) { - let enabled = (state && state.ocr.enabled && navigator.clipboard && !tools.browser.is_ios); + let enabled = (state && state.ocr.enabled && navigator.clipboard && !tools.browser.is_mobile); if (enabled) { let selected = tools.storage.get("stream.ocr.lang", state.ocr.langs["default"]); let html = ""; |