editor: fix redo shortcut

This commit is contained in:
bordun 2018-08-23 14:47:16 +02:00
parent 358e8105a0
commit 61911bd4b7

View file

@ -47,7 +47,7 @@ var Editor = class Editor {
if (e.target.classList.contains('input')) return
this.undo()
})
keyboardJS.bind('mod + y, mod + shift + z', (e)=>{
keyboardJS.bind(['mod + y', 'mod + shift + z'], (e)=>{
if (e.target.classList.contains('input')) return
this.redo()
})