mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Remove "true" return value from event handler
* this does not change any semantics
This commit is contained in:
parent
2f46c69ed6
commit
a8bde2d13c
1 changed files with 1 additions and 2 deletions
|
@ -10,9 +10,8 @@ function onPaste(evt: ClipboardEvent): void {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
function onCutOrCopy(): boolean {
|
function onCutOrCopy(): void {
|
||||||
bridgeCommand("cutOrCopy");
|
bridgeCommand("cutOrCopy");
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class EditingArea extends HTMLDivElement {
|
export class EditingArea extends HTMLDivElement {
|
||||||
|
|
Loading…
Reference in a new issue