Merge branch 'bugfix/hotkeys' of github.com:ONLYOFFICE/AppServer into bugfix/hotkeys
This commit is contained in:
commit
7a52679e7c
@ -33,7 +33,7 @@ const Dialog = ({
|
||||
if (e.keyCode === 27) onCancelAction(e);
|
||||
if (e.keyCode === 13) onSaveAction(e);
|
||||
},
|
||||
[onSaveAction, onCancelAction, value]
|
||||
[value]
|
||||
);
|
||||
useEffect(() => {
|
||||
document.addEventListener("keyup", onKeyUpHandler, false);
|
||||
|
Loading…
Reference in New Issue
Block a user