little fix

This commit is contained in:
wukko 2022-09-28 18:24:44 +06:00
parent 5593b67a74
commit d75d29896a

View file

@ -217,7 +217,7 @@ function toggle(toggl) {
}
function loadSettings() {
try {
typeof(navigator.clipboard.readText)
if (typeof(navigator.clipboard.readText) == "undefined") throw new Error();
} catch (err) {
eid("disableClipboardButton-chkbx").style.display = "none";
sSet("disableClipboardButton", "true")