Merge branch 'g5'

This commit is contained in:
chicpro
2013-10-02 17:29:39 +09:00

View File

@ -14,10 +14,12 @@
} }
var $img = this.find(cfg.selector); var $img = this.find(cfg.selector);
var width = this.width(); var $this = this;
function image_resize() function image_resize()
{ {
var width = $this.width();
$img.each(function() { $img.each(function() {
$(this).removeAttr("width") $(this).removeAttr("width")
.removeAttr("height") .removeAttr("height")