Skip to content
Permalink
Browse files

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.
  • Loading branch information...
scottgonzalez committed Oct 20, 2010
1 parent af582b9 commit 72985fbbecba2153fa56dba058740160fbd0c878
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.core.js
@@ -158,7 +158,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
}

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() {
$.style( this, type, reduce( this, size, true, margin ) + "px" );
$( this).css( type, reduce( this, size, true, margin ) + "px" );
});
};
});

0 comments on commit 72985fb

Please sign in to comment.
You can’t perform that action at this time.