From ee1da056adc8440b427961e0d449e20a186f678f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 23 Nov 2012 02:22:15 +0100 Subject: remov automatic fancyboxing --- source/javascripts/slash.js | 18 +----------------- 1 file changed, 1 insertion(+), 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(''+alt+''); - } - - $(this).wrap(''); - }); - }); - }; - 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); -- cgit v1.1-2-g2b99