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