Commit 829ddd4d authored by LianaHus's avatar LianaHus

default on 'ok'

parent 20aa42bf
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment