Ox.Focus.focused() -> Ox.Focus().focusedElement()
This commit is contained in:
parent
48d88e58ad
commit
8050b3f327
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ pandora.ui.browser = function() {
|
|||
// gain focus if we're on page load or if we've just switched
|
||||
// to an item and the not-yet-garbage-collected list still has
|
||||
// focus
|
||||
if (Ox.Focus.focused() === null || (
|
||||
if (!Ox.Focus.focusedElement() || (
|
||||
pandora.$ui.list && pandora.$ui.list.hasFocus()
|
||||
)) {
|
||||
that.gainFocus();
|
||||
|
|
Loading…
Reference in a new issue