forked from 0x2620/pandora
pandora..findInput.focusInput might be undefined
This commit is contained in:
parent
f65336c28d
commit
4ddb170bc9
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ pandora.ui.mainMenu = function() {
|
||||||
if (!pandora.hasDialogOrScreen()) {
|
if (!pandora.hasDialogOrScreen()) {
|
||||||
if (ui._findState.key != 'advanced') {
|
if (ui._findState.key != 'advanced') {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
pandora.$ui.findInput.focusInput(true);
|
pandora.$ui.findInput && pandora.$ui.findInput.focusInput(true);
|
||||||
}, 25);
|
}, 25);
|
||||||
} else {
|
} else {
|
||||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||||
|
|
Loading…
Reference in a new issue