fix a bug that would corrupt user.ui
This commit is contained in:
parent
656c4f7201
commit
b1d408c7b8
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pandora.UI = (function() {
|
|||
Ox.forEach(listSettings, function(listSetting, setting) {
|
||||
if (!pandora.user.ui.lists[list]) {
|
||||
// add default list setting and copy to settings
|
||||
add['lists.' + that.encode(list)][listSetting] = pandora.site.user.ui[setting];
|
||||
add['lists.' + that.encode(list) + '.' + listSetting] = pandora.site.user.ui[setting];
|
||||
add[setting] = pandora.site.user.ui[setting];
|
||||
} else {
|
||||
// copy lists setting to settings
|
||||
|
|
Loading…
Reference in a new issue