forked from 0x2620/pandora
main menu: cosmetic changes
This commit is contained in:
parent
2196abc548
commit
7ddc0b6e40
1 changed files with 2 additions and 2 deletions
|
@ -493,8 +493,8 @@ pandora.ui.mainMenu = function() {
|
||||||
},
|
},
|
||||||
pandora_itemview: function(data) {
|
pandora_itemview: function(data) {
|
||||||
var action,
|
var action,
|
||||||
isVideoView = ['timeline', 'player', 'editor'].indexOf(data.value) > -1,
|
isVideoView = ['player', 'editor', 'timeline'].indexOf(data.value) > -1,
|
||||||
wasVideoView = ['timeline', 'player', 'editor'].indexOf(data.previousValue) > -1;
|
wasVideoView = ['player', 'editor', 'timeline'].indexOf(data.previousValue) > -1;
|
||||||
that.checkItem('viewMenu_item_' + data.value);
|
that.checkItem('viewMenu_item_' + data.value);
|
||||||
if (pandora.isClipView() != pandora.isClipView(data.previousValue)) {
|
if (pandora.isClipView() != pandora.isClipView(data.previousValue)) {
|
||||||
that.replaceMenu('sortMenu', getSortMenu());
|
that.replaceMenu('sortMenu', getSortMenu());
|
||||||
|
|
Loading…
Reference in a new issue