summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/ocr.js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-10-07 02:36:46 +0300
committerMaxim Devaev <[email protected]>2022-10-07 02:37:57 +0300
commite1c4a5163de2df49b35bb11efeaa0505ea6bbc64 (patch)
tree96d02d1eceb4c7a682381f4bc108a8d108e926bb /web/share/js/kvm/ocr.js
parent684b0185f79c67b8730b64390cd4a040aa435b5d (diff)
Minimal android compatibility
Note that Samsung devices can't handle (hover: none) media query
Diffstat (limited to 'web/share/js/kvm/ocr.js')
-rw-r--r--web/share/js/kvm/ocr.js2
1 files changed, 1 insertions, 1 deletions
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 = "";