리사이즈 실행시 width 구하도록 수정
This commit is contained in:
1 parent
e969fff0a8
commit
23fd497041
1 file changed
+3
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user