default on 'ok'

pull/3094/head
LianaHus 6 years ago
parent 94aaa2379a
commit fbd891d70c
  1. 2
      src/app/ui/modaldialog.js

@ -30,6 +30,8 @@ module.exports = (title, content, ok, cancel, focusSelector, opts) => {
modal.innerHTML = ''
if (content) modal.appendChild(content)
setFocusOn('ok')
show()
function setFocusOn (btn) {

Loading…
Cancel
Save