mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-10-31 15:35:03 -04:00
Merge pull request #335 from hSATAC/master
Fix delicious widget js error
This commit is contained in:
commit
f99234b10e
@ -110,7 +110,7 @@ function wrapFlashVideos() {
|
||||
function renderDeliciousLinks(items) {
|
||||
var output = "<ul>";
|
||||
for (var i=0,l=items.length; i<l; i++) {
|
||||
output += '<li><a href="' + items[i].u + '" title="Tags: ' + items[i].t.join(', ') + '">' + items[i].d + '</a></li>';
|
||||
output += '<li><a href="' + items[i].u + '" title="Tags: ' + (items[i].t == "" ? "" : items[i].t.join(', ')) + '">' + items[i].d + '</a></li>';
|
||||
}
|
||||
output += "</ul>";
|
||||
$('#delicious').html(output);
|
||||
|
Loading…
Reference in New Issue
Block a user