use pandora.isVideoView
This commit is contained in:
parent
22c0813a9b
commit
b16ee88a68
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,7 @@ pandora.ui.browser = function() {
|
|||
that.scrollToSelection();
|
||||
},
|
||||
openpreview: function() {
|
||||
var itemView = pandora.user.ui.itemView;
|
||||
if (['player', 'editor', 'timeline'].indexOf(itemView) > -1) {
|
||||
if (pandora.isVideoView()) {
|
||||
pandora.$ui[itemView].gainFocus().triggerEvent('key_space');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue