fix a bug in main menu that would prevent the 'show timeline' keyboard shortcut from working

This commit is contained in:
rolux 2012-09-15 11:48:09 +00:00
parent 6589cba57a
commit 4fc3842112

View file

@ -419,7 +419,7 @@ pandora.ui.mainMenu = function() {
pandora.UI.set({showSidebar: !ui.showSidebar}); pandora.UI.set({showSidebar: !ui.showSidebar});
}, },
key_shift_t: function() { key_shift_t: function() {
ui.item && ui.itemView == 'video' ui.item && ui.itemView == 'player'
&& pandora.UI.set({showTimeline: !ui.showTimeline}); && pandora.UI.set({showTimeline: !ui.showTimeline});
}, },
pandora_find: function() { pandora_find: function() {