mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-08 09:44:27 +02:00
little fix
This commit is contained in:
parent
5593b67a74
commit
d75d29896a
@ -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…
x
Reference in New Issue
Block a user