mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2.
This commit is contained in:
parent
af582b97a7
commit
72985fbbec
4
ui/jquery.ui.core.js
vendored
4
ui/jquery.ui.core.js
vendored
@ -158,7 +158,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
$.style( this, type, reduce( this, size ) + "px" );
|
$( this ).css( type, reduce( this, size ) + "px" );
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
$.style( this, type, reduce( this, size, true, margin ) + "px" );
|
$( this).css( type, reduce( this, size, true, margin ) + "px" );
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user