mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 05:04:22 +00:00
fix(lint): drop redundant ok=false in clipboard fallback catch
This commit is contained in:
parent
03aa619b91
commit
f58d91a70b
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ export class ClipboardManager {
|
||||||
textarea.setSelectionRange(0, text.length);
|
textarea.setSelectionRange(0, text.length);
|
||||||
ok = document.execCommand('copy');
|
ok = document.execCommand('copy');
|
||||||
} catch {
|
} catch {
|
||||||
ok = false;
|
/* keep ok as false */
|
||||||
}
|
}
|
||||||
|
|
||||||
host.removeChild(textarea);
|
host.removeChild(textarea);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue