From b4f1b597189dfbf434bec818acf78e820791f994 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 30 Sep 2011 16:35:04 +0200 Subject: [PATCH] get right data key for hsl --- static/js/pandora/ui/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index ee207a684..2318847b1 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -236,7 +236,7 @@ pandora.ui.list = function() { url = '/' + data.id.split('/')[0] + '/' + height + 'p' + data['in'] + '.jpg', sortKey = sort[0].key.split(':').pop(), info = ['hue', 'saturation', 'lightness'].indexOf(sortKey) > -1 - ? Ox.formatColor(data[sort[0].key], sortKey) + ? Ox.formatColor(data[sortKey], sortKey) : data[['title', 'director'].indexOf(sort[0].key) > -1 ? 'year' : sort[0].key]; return { height: height,