Fix delicious widget js error
Brandon Mathis authored on 21/12/2011 at 05:21:38... | ... |
@@ -110,7 +110,7 @@ function wrapFlashVideos() { |
110 | 110 |
function renderDeliciousLinks(items) { |
111 | 111 |
var output = "<ul>"; |
112 | 112 |
for (var i=0,l=items.length; i<l; i++) { |
113 |
- output += '<li><a href="' + items[i].u + '" title="Tags: ' + items[i].t.join(', ') + '">' + items[i].d + '</a></li>'; |
|
113 |
+ output += '<li><a href="' + items[i].u + '" title="Tags: ' + (items[i].t == "" ? "" : items[i].t.join(', ')) + '">' + items[i].d + '</a></li>'; |
|
114 | 114 |
} |
115 | 115 |
output += "</ul>"; |
116 | 116 |
$('#delicious').html(output); |