리사이즈 실행시 width 구하도록 수정

This commit is contained in:
chicpro
2013-10-02 17:28:59 +09:00
parent e969fff0a8
commit 23fd497041

View File

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