From 72985fbbecba2153fa56dba058740160fbd0c878 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 19 Oct 2010 22:44:46 -0400 Subject: [PATCH] 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. --- ui/jquery.ui.core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 212bfd402..bda679554 100644 --- a/ui/jquery.ui.core.js +++ b/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" ); }); }; }); -- 2.39.5