diff options
author | Maxim Devaev <[email protected]> | 2024-01-27 08:03:12 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-01-27 08:03:12 +0200 |
commit | 5d8875da881104d6568e0fbbf66c448397b687ab (patch) | |
tree | f0dda5c16b16abc77c0b87aae917a9b52c13acbb | |
parent | 8ec0e5518a515286ac41c4452deb17195095f500 (diff) |
pikvm/pikvm#1228: fix ocr for http-only connection
-rw-r--r-- | web/share/js/kvm/ocr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/ocr.js b/web/share/js/kvm/ocr.js index af0b97c7..bbfcf8af 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_mobile); + let enabled = (state && state.ocr.enabled && !tools.browser.is_mobile); if (enabled) { let el = $("stream-ocr-lang-selector"); tools.selector.setValues(el, state.ocr.langs.available); |