main menu: cosmetic changes

This commit is contained in:
rolux 2013-02-20 12:04:53 +05:30
parent 2196abc548
commit 7ddc0b6e40

View file

@ -493,8 +493,8 @@ pandora.ui.mainMenu = function() {
},
pandora_itemview: function(data) {
var action,
isVideoView = ['timeline', 'player', 'editor'].indexOf(data.value) > -1,
wasVideoView = ['timeline', 'player', 'editor'].indexOf(data.previousValue) > -1;
isVideoView = ['player', 'editor', 'timeline'].indexOf(data.value) > -1,
wasVideoView = ['player', 'editor', 'timeline'].indexOf(data.previousValue) > -1;
that.checkItem('viewMenu_item_' + data.value);
if (pandora.isClipView() != pandora.isClipView(data.previousValue)) {
that.replaceMenu('sortMenu', getSortMenu());