forked from 0x2620/pandora
fix a bug that would keep the 'Always Show Site Poster' preference from being sticky
This commit is contained in:
parent
48f48bffe6
commit
528e46731d
1 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ pandora.ui.mainMenu = function() {
|
||||||
}) }
|
}) }
|
||||||
], pandora.site.media.importPosters ? [
|
], pandora.site.media.importPosters ? [
|
||||||
{},
|
{},
|
||||||
{ id: 'showsiteposter', title: 'Always Show ' + pandora.site.site.name + ' Poster', checked: ui.showSitePoster }
|
{ id: 'showsiteposters', title: 'Always Show ' + pandora.site.site.name + ' Poster', checked: ui.showSitePosters }
|
||||||
] : []
|
] : []
|
||||||
) },
|
) },
|
||||||
{ id: 'timelines', title: 'Timelines', items: [
|
{ id: 'timelines', title: 'Timelines', items: [
|
||||||
|
@ -214,8 +214,8 @@ pandora.ui.mainMenu = function() {
|
||||||
} else if (data.id == 'settheme') {
|
} else if (data.id == 'settheme') {
|
||||||
Ox.Theme(value);
|
Ox.Theme(value);
|
||||||
pandora.UI.set('theme', value);
|
pandora.UI.set('theme', value);
|
||||||
} else if (data.id == 'showsiteposter') {
|
} else if (data.id == 'showsiteposters') {
|
||||||
pandora.UI.set('showSitePoster', data.checked)
|
pandora.UI.set('showSitePosters', data.checked)
|
||||||
} else if (Ox.startsWith(data.id, 'sortfilter')) {
|
} else if (Ox.startsWith(data.id, 'sortfilter')) {
|
||||||
var filters = Ox.clone(ui.filters),
|
var filters = Ox.clone(ui.filters),
|
||||||
id = data.id.replace('sortfilter', ''),
|
id = data.id.replace('sortfilter', ''),
|
||||||
|
@ -482,7 +482,7 @@ pandora.ui.mainMenu = function() {
|
||||||
|
|
||||||
function getListMenu(lists) {
|
function getListMenu(lists) {
|
||||||
return { id: 'listMenu', title: 'List', items: Ox.merge(
|
return { id: 'listMenu', title: 'List', items: Ox.merge(
|
||||||
{ id: 'allitems', title: 'All ' + pandora.site.itemName.plural, checked: !ui.item && !ui._list, keyboard: 'shift control w' },
|
{ id: 'allitems', title: 'All ' + pandora.site.itemName.plural, checked: !ui.item && !ui._list, keyboard: 'shift control w' },
|
||||||
['personal', 'favorite', 'featured'].map(function(folder) {
|
['personal', 'favorite', 'featured'].map(function(folder) {
|
||||||
return {
|
return {
|
||||||
id: folder + 'lists',
|
id: folder + 'lists',
|
||||||
|
|
Loading…
Reference in a new issue