summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);