aboutsummaryrefslogtreecommitdiff
path: root/.themes
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-12-20 21:21:38 -0800
committerBrandon Mathis <brandon@imathis.com>2011-12-20 21:21:38 -0800
commitf99234b10ec3cd038a9537a1cad2a4e93250fb7a (patch)
treec26361138171bace679ed9742efd179deb57daae /.themes
parentce0d25100bc3354f2a6e0c758443178b0fa47bb9 (diff)
parenta5a16b4039b5733cd751b0463310c883c6b08f10 (diff)
downloadmy_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 '')
-rw-r--r--.themes/classic/source/javascripts/octopress.js2
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);