Merge pull request #335 from hSATAC/master

Fix delicious widget js error
This commit is contained in:
Brandon Mathis 2011-12-20 21:21:38 -08:00
commit f99234b10e

View File

@ -110,7 +110,7 @@ function wrapFlashVideos() {
function renderDeliciousLinks(items) { function renderDeliciousLinks(items) {
var output = "<ul>"; var output = "<ul>";
for (var i=0,l=items.length; i<l; i++) { 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>"; output += "</ul>";
$('#delicious').html(output); $('#delicious').html(output);