summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-20 04:15:33 +0300
committerDevaev Maxim <[email protected]>2021-05-20 04:15:33 +0300
commitc1fcfdb6cef8d9a66b6d2f3a33348c08f271c6b4 (patch)
treef00c5ca658c6149594b6aa709d41e839d0fb832f /web
parent8b185976ec89a8db14e7bfc827c0fe5a85fd6a0f (diff)
removed hid-print validation from js side
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/hid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js
index bfda9ae1..b944e268 100644
--- a/web/share/js/kvm/hid.js
+++ b/web/share/js/kvm/hid.js
@@ -204,7 +204,7 @@ export function Hid(get_resolution_callback) {
};
var __clickPasteAsKeysButton = function() {
- let text = $("hid-pak-text").value.replace(/[^\x00-\x7F]/g, ""); // eslint-disable-line no-control-regex
+ let text = $("hid-pak-text").value;
if (text) {
let paste_as_keys = function() {
wm.setElementEnabled($("hid-pak-text"), false);