forked from 0x2620/pandora
don't throw JS error when collapsing movies browser before editor has loaded
This commit is contained in:
parent
baad1b949c
commit
3f59138c66
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ pandora.ui.browser = function() {
|
||||||
if (data.collapsed) {
|
if (data.collapsed) {
|
||||||
// fixme: can we do this for timeline and player too?
|
// fixme: can we do this for timeline and player too?
|
||||||
if (pandora.user.ui.itemView == 'editor') {
|
if (pandora.user.ui.itemView == 'editor') {
|
||||||
pandora.$ui.editor.gainFocus();
|
pandora.$ui.editor && pandora.$ui.editor.gainFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (pandora.user.ui.itemView == 'timeline') {
|
if (pandora.user.ui.itemView == 'timeline') {
|
||||||
|
|
Loading…
Reference in a new issue