mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:25:06 +01:00
fuck wrong line
This commit is contained in:
parent
62a2547957
commit
e9a7124b82
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ async function pasteClipboard() {
|
|||
let doError = true;
|
||||
e = String(e).toLowerCase();
|
||||
|
||||
if (e.includes("denied") && !isIOS) errorMessage = loc.clipboardErrorNoPermission;
|
||||
if (e.includes("dismissed")) doError = false;
|
||||
if (e.includes("denied")) errorMessage = loc.clipboardErrorNoPermission;
|
||||
if (e.includes("dismissed") && isIOS) doError = false;
|
||||
if (e.includes("function") && isFirefox) errorMessage = loc.clipboardErrorFirefox;
|
||||
|
||||
if (doError) popup("error", 1, errorMessage);
|
||||
|
|
Loading…
Reference in a new issue