summaryrefslogtreecommitdiffstats
path: root/source/javascripts
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-11-23 02:22:15 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-11-23 02:22:15 +0100
commitee1da056adc8440b427961e0d449e20a186f678f (patch)
treec1e1daf5bba013c3b7171e98fc87ce23cef341e0 /source/javascripts
parent531a44ce54aa5ae6aa6bf37441c23c0a49db0f6f (diff)
downloadoctopress-theme-jeyzu-ee1da056adc8440b427961e0d449e20a186f678f.zip
octopress-theme-jeyzu-ee1da056adc8440b427961e0d449e20a186f678f.tar.gz
remov automatic fancyboxing
Diffstat (limited to 'source/javascripts')
-rw-r--r--source/javascripts/slash.js18
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);