don't steal focus

This commit is contained in:
rolux 2015-04-17 17:14:41 +01:00
parent 9eb17dcf41
commit 016240b6f8

View file

@ -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() {