diff --git a/assets/js/blog.js b/assets/js/blog.js index 8739a2d..8d0d483 100644 --- a/assets/js/blog.js +++ b/assets/js/blog.js @@ -43,8 +43,8 @@ getComments(function(err) { if (err) { $('#comments').text('derp') + if (typeof cb === 'function') cb(err) } - if (typeof cb === 'function') cb(err) else { $('#comment-stuff').slideDown(1.5, function() { if (typeof cb === 'function') cb()