fix a bug that would keep the 'Always Show Site Poster' preference from being sticky

This commit is contained in:
rolux 2012-03-20 11:51:28 +00:00
parent 48f48bffe6
commit 528e46731d

View file

@ -66,7 +66,7 @@ pandora.ui.mainMenu = function() {
}) }
], 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: [
@ -214,8 +214,8 @@ pandora.ui.mainMenu = function() {
} else if (data.id == 'settheme') {
Ox.Theme(value);
pandora.UI.set('theme', value);
} else if (data.id == 'showsiteposter') {
pandora.UI.set('showSitePoster', data.checked)
} else if (data.id == 'showsiteposters') {
pandora.UI.set('showSitePosters', data.checked)
} else if (Ox.startsWith(data.id, 'sortfilter')) {
var filters = Ox.clone(ui.filters),
id = data.id.replace('sortfilter', ''),