forked from 0x2620/pandora
don't steal focus
This commit is contained in:
parent
9eb17dcf41
commit
016240b6f8
1 changed files with 1 additions and 1 deletions
|
@ -2020,7 +2020,7 @@ pandora.logEvent = function(data, event, element) {
|
|||
};
|
||||
|
||||
pandora.openLicenseDialog = function() {
|
||||
if (!pandora.hasDialogOrScreen()) {
|
||||
if (!Ox.Focus.focusedElementIsInput() && !pandora.hasDialogOrScreen()) {
|
||||
pandora.ui.licenseDialog().open().bindEvent({
|
||||
close: function() {
|
||||
setTimeout(function() {
|
||||
|
|
Loading…
Reference in a new issue