Stop Enter selecting a drop down menu when the modal dialog is displayed

pull/1/head
up730418 7 years ago committed by yann300
parent 25acb7403e
commit ee58de92b9
  1. 1
      src/app/ui/modaldialog.js

@ -40,6 +40,7 @@ module.exports = (title, content, ok, cancel) => {
}
function modalKeyEvent (e) {
e.preventDefault()
if (e.keyCode === 27) {
cancelListener()
} else if (e.keyCode === 13) {

Loading…
Cancel
Save