fix(lint): drop redundant ok=false in clipboard fallback catch

This commit is contained in:
MHSanaei 2026-05-23 15:13:00 +02:00
parent 03aa619b91
commit f58d91a70b
No known key found for this signature in database
GPG key ID: 7E4060F2FBE5AB7A

View file

@ -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);