Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #335 from hSATAC/master

Fix delicious widget js error
  • Loading branch information...
commit f99234b10ec3cd038a9537a1cad2a4e93250fb7a 2 parents ce0d251 + a5a16b4
@imathis imathis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .themes/classic/source/javascripts/octopress.js
View
2  .themes/classic/source/javascripts/octopress.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.