mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 10:37:17 +00:00
prevent default on undo-redo
This commit is contained in:
1 parent
b8128aaf86
commit
08ad9b4186
1 file changed
+1
@@ -565,6 +565,7 @@
|
|||||||
} else {
|
} else {
|
||||||
dbUtils.undo();
|
dbUtils.undo();
|
||||||
}
|
}
|
||||||
|
e.preventDefault();
|
||||||
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
||||||
if (!targetInput) {
|
if (!targetInput) {
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
|
|||||||
Reference in new issue
Block a user