little fix
This commit is contained in:
parent
5593b67a74
commit
d75d29896a
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ function toggle(toggl) {
|
||||||
}
|
}
|
||||||
function loadSettings() {
|
function loadSettings() {
|
||||||
try {
|
try {
|
||||||
typeof(navigator.clipboard.readText)
|
if (typeof(navigator.clipboard.readText) == "undefined") throw new Error();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
eid("disableClipboardButton-chkbx").style.display = "none";
|
eid("disableClipboardButton-chkbx").style.display = "none";
|
||||||
sSet("disableClipboardButton", "true")
|
sSet("disableClipboardButton", "true")
|
||||||
|
|
Loading…
Reference in a new issue