diff --git a/js/viewimageresize.js b/js/viewimageresize.js index b3c4ed65b..40e436143 100644 --- a/js/viewimageresize.js +++ b/js/viewimageresize.js @@ -21,7 +21,8 @@ $img.each(function() { $(this).removeAttr("width") .removeAttr("height") - .css("width",""); + .css("width","") + .css("height", ""); if($(this).data("width") == undefined) $(this).data("width", $(this).width());