Commit a7c845cea1e0e383b21fd24e7c8392de4936b5a0
Exists in
master
and in
27 other branches
Merge branch 'master' of gitlab.com:participa/noosfero
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
... | ... | @@ -1064,7 +1064,7 @@ jQuery(document).ready(function(){ |
1064 | 1064 | function apply_zoom_to_images(zoom_text) { |
1065 | 1065 | jQuery(function($) { |
1066 | 1066 | $(window).load( function() { |
1067 | - $('#article .article-body img').each( function(index) { | |
1067 | + $('#article .article-body img:not(.disable-zoom)').each( function(index) { | |
1068 | 1068 | var original = original_image_dimensions($(this).attr('src')); |
1069 | 1069 | if ($(this).width() < original['width'] || $(this).height() < original['height']) { |
1070 | 1070 | $(this).wrap('<div class="zoomable-image" />'); | ... | ... |