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() {
|
pandora.openLicenseDialog = function() {
|
||||||
if (!pandora.hasDialogOrScreen()) {
|
if (!Ox.Focus.focusedElementIsInput() && !pandora.hasDialogOrScreen()) {
|
||||||
pandora.ui.licenseDialog().open().bindEvent({
|
pandora.ui.licenseDialog().open().bindEvent({
|
||||||
close: function() {
|
close: function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
Loading…
Reference in a new issue