Commit a7c845cea1e0e383b21fd24e7c8392de4936b5a0

Authored by Leandro Santos
2 parents aa9dccef daa97893

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,7 +1064,7 @@ jQuery(document).ready(function(){
1064 function apply_zoom_to_images(zoom_text) { 1064 function apply_zoom_to_images(zoom_text) {
1065 jQuery(function($) { 1065 jQuery(function($) {
1066 $(window).load( function() { 1066 $(window).load( function() {
1067 - $('#article .article-body img').each( function(index) { 1067 + $('#article .article-body img:not(.disable-zoom)').each( function(index) {
1068 var original = original_image_dimensions($(this).attr('src')); 1068 var original = original_image_dimensions($(this).attr('src'));
1069 if ($(this).width() < original['width'] || $(this).height() < original['height']) { 1069 if ($(this).width() < original['width'] || $(this).height() < original['height']) {
1070 $(this).wrap('<div class="zoomable-image" />'); 1070 $(this).wrap('<div class="zoomable-image" />');