diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/javascripts/slash.js | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/source/javascripts/slash.js b/source/javascripts/slash.js index 5288572..187223e 100644 --- a/source/javascripts/slash.js +++ b/source/javascripts/slash.js @@ -14,22 +14,6 @@ }); }; - // Append caption after pictures - var appendCaption = function(){ - $('.entry-content').each(function(i){ - var _i = i; - $(this).find('img').each(function(){ - var alt = this.alt; - - if (alt != ''){ - $(this).after('<span class="caption">'+alt+'</span>'); - } - - $(this).wrap('<a href="'+this.src+'" title="'+alt+'" class="fancybox" rel="gallery'+_i+'" />'); - }); - }); - }; - externalLinks(); // Delete or comment this line to disable opening external links in new window appendCaption(); // Delete or comment this line to disable caption @@ -59,4 +43,4 @@ }).click(function(e){ e.stopPropagation(); }); -})(jQuery);
\ No newline at end of file +})(jQuery); |