mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
removed hid-print validation from js side
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user