Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

Commit eb963b2

Browse files
committed
Fix focusing dialog input when editor is focused in Firefox
1 parent f176125 commit eb963b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/regions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ function nav2() {
9797
setTimeout(function() {
9898
var input = tempElement.querySelector('input:not([disabled])') || tempElement.querySelector('button');
9999
if (input) {
100+
editor.blur();
100101
input.focus();
101102
if(input.select) input.select();
102103
}

0 commit comments

Comments
 (0)