forked from 0x2620/pandora
cosmetic changes
This commit is contained in:
parent
36b93c07c1
commit
c722da3c13
1 changed files with 5 additions and 2 deletions
|
@ -14,11 +14,14 @@ pandora.ui.folderList = function(id, section) {
|
||||||
columns = [
|
columns = [
|
||||||
{
|
{
|
||||||
clickable: function(data) {
|
clickable: function(data) {
|
||||||
return data.user == pandora.user.username || (id == 'featured' && canEditFeatured);
|
return data.user == pandora.user.username
|
||||||
|
|| (id == 'featured' && canEditFeatured);
|
||||||
},
|
},
|
||||||
format: function(value, data) {
|
format: function(value, data) {
|
||||||
return $('<img>').attr({
|
return $('<img>').attr({
|
||||||
src: '/' + folderItem.toLowerCase() + '/' + encodeURIComponent(data.id) + '/icon.jpg?' + data.modified
|
src: '/' + folderItem.toLowerCase() + '/'
|
||||||
|
+ encodeURIComponent(data.id) + '/icon.jpg?'
|
||||||
|
+ data.modified
|
||||||
}).css({
|
}).css({
|
||||||
width: '14px',
|
width: '14px',
|
||||||
height: '14px',
|
height: '14px',
|
||||||
|
|
Loading…
Reference in a new issue