encodeURI(listname) before making it part of image URLs
This commit is contained in:
parent
ab9172526b
commit
356a4b4505
4 changed files with 5 additions and 5 deletions
|
|
@ -183,7 +183,7 @@ pandora.ui.listInfo = function() {
|
|||
$icon = Ox.Element('<img>')
|
||||
.attr({
|
||||
src: list
|
||||
? '/' + folderItem.toLowerCase() + '/' + list + '/icon256.jpg?' + Ox.uid()
|
||||
? '/' + folderItem.toLowerCase() + '/' + encodeURI(list) + '/icon256.jpg?' + Ox.uid()
|
||||
: '/static/png/icon.png'
|
||||
})
|
||||
.css(getIconCSS())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue