mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +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);
|
||||
ok = document.execCommand('copy');
|
||||
} catch {
|
||||
ok = false;
|
||||
/* keep ok as false */
|
||||
}
|
||||
|
||||
host.removeChild(textarea);
|
||||
|
|
|
|||
Loading…
Reference in a new issue