+2
-2
lines changedFilter options
+2
-2
lines changed Original file line number Diff line number Diff line change
@@ -436,11 +436,11 @@ export function CodeJar(editor: HTMLElement, highlight: (e: HTMLElement, pos?: P
436
436
}
437
437
438
438
function isUndo(event: KeyboardEvent) {
439
-
return isCtrl(event) && !event.shiftKey && event.key === 'z'
439
+
return isCtrl(event) && !event.shiftKey && event.code === 'KeyZ'
440
440
}
441
441
442
442
function isRedo(event: KeyboardEvent) {
443
-
return isCtrl(event) && event.shiftKey && event.key === 'z'
443
+
return isCtrl(event) && event.shiftKey && event.code === 'KeyZ'
444
444
}
445
445
446
446
function insert(text: string) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4