encodeURI -> encodeURIComponent

This commit is contained in:
rolux 2013-08-14 19:41:31 +00:00
commit e8d2280466
6 changed files with 10 additions and 10 deletions

View file

@ -183,7 +183,7 @@ pandora.ui.listInfo = function() {
$icon = Ox.Element('<img>')
.attr({
src: list
? '/' + folderItem.toLowerCase() + '/' + encodeURI(list) + '/icon256.jpg?' + Ox.uid()
? '/' + folderItem.toLowerCase() + '/' + encodeURIComponent(list) + '/icon256.jpg?' + Ox.uid()
: '/static/png/icon.png'
})
.css(getIconCSS())