리사이즈 실행시 width 구하도록 수정
This commit is contained in:
@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user