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', ''),
|
||||||
|
|
Loading…
Reference in a new issue