mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05: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();
|
||||
}
|
||||
|
||||
function onCutOrCopy(): boolean {
|
||||
function onCutOrCopy(): void {
|
||||
bridgeCommand("cutOrCopy");
|
||||
return true;
|
||||
}
|
||||
|
||||
export class EditingArea extends HTMLDivElement {
|
||||
|
|
|
|||
Loading…
Reference in a new issue