Prevent focus-related console warning when opening prompts.
This commit is contained in:
parent
6af3db5455
commit
41774cbeb7
|
@ -43,7 +43,6 @@ var Prompts = (() => {
|
||||||
type: "popup",
|
type: "popup",
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
focused: false, // initially in the background while sizing
|
|
||||||
};
|
};
|
||||||
if (UA.isMozilla) {
|
if (UA.isMozilla) {
|
||||||
options.allowScriptsToClose = true;
|
options.allowScriptsToClose = true;
|
||||||
|
|
Loading…
Reference in New Issue