diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-12-20 21:21:38 -0800 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-12-20 21:21:38 -0800 |
commit | f99234b10ec3cd038a9537a1cad2a4e93250fb7a (patch) | |
tree | c26361138171bace679ed9742efd179deb57daae /.themes/classic/source | |
parent | ce0d25100bc3354f2a6e0c758443178b0fa47bb9 (diff) | |
parent | a5a16b4039b5733cd751b0463310c883c6b08f10 (diff) | |
download | my_new_personal_website-f99234b10ec3cd038a9537a1cad2a4e93250fb7a.tar.xz my_new_personal_website-f99234b10ec3cd038a9537a1cad2a4e93250fb7a.zip |
Merge pull request #335 from hSATAC/master
Fix delicious widget js error
Diffstat (limited to '.themes/classic/source')
-rw-r--r-- | .themes/classic/source/javascripts/octopress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index c0b53cf2..379e6630 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.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); |