default on 'ok'

pull/1/head
LianaHus 6 years ago
parent 20aa42bf7b
commit 829ddd4d35
  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