allow for switching list icons

This commit is contained in:
rlx 2011-08-07 20:25:33 +00:00
commit a6e08314ac
4 changed files with 18 additions and 14 deletions

View file

@ -72,7 +72,7 @@ pandora.ui.list = function(view) { // fixme: remove view argument
});
} else if (view == 'icons') {
that = Ox.IconList({
defaultRatio: 5/8,
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
id: 'list',
item: function(data, sort, size) {
var icons = pandora.user.ui.icons,