summaryrefslogtreecommitdiff
path: root/web/share/js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-12-08 20:17:26 +0200
committerMaxim Devaev <[email protected]>2024-12-11 17:56:54 +0200
commit2649a2fa01a45ba3766cced3b244a8376df5091a (patch)
tree9e786d18b1ee95acbef4329b61edc5681597e88a /web/share/js
parent8cca5a8cc7843355f933946d9b73f97007a5b1c4 (diff)
web: Enabled secure paste text for Firefox
Diffstat (limited to 'web/share/js')
-rw-r--r--web/share/js/kvm/paste.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/share/js/kvm/paste.js b/web/share/js/kvm/paste.js
index 8b770122..3fe1d62c 100644
--- a/web/share/js/kvm/paste.js
+++ b/web/share/js/kvm/paste.js
@@ -37,12 +37,6 @@ export function Paste(__recorder) {
tools.storage.bindSimpleSwitch($("hid-pak-secure-switch"), "hid.pak.secure", false, function(value) {
$("hid-pak-text").style.setProperty("-webkit-text-security", (value ? "disc" : "none"));
});
- tools.feature.setEnabled($("hid-pak-secure"), (
- tools.browser.is_chrome
- || tools.browser.is_safari
- || tools.browser.is_opera
- ));
-
$("hid-pak-keymap-selector").addEventListener("change", function() {
tools.storage.set("hid.pak.keymap", $("hid-pak-keymap-selector").value);
});