Fixed an issue with how CSS property methods were being handled.
This commit is contained in:
parent
2a4c269a9b
commit
065cd7ecf6
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -853,7 +853,7 @@ jQuery.extend({
|
|||
});
|
||||
|
||||
jQuery.each( jQuery.macros.css, function(i,n){
|
||||
jQuery.fn[ i ] = function(h) {
|
||||
jQuery.fn[ n ] = function(h) {
|
||||
return h == undefined ?
|
||||
( this.length ? jQuery.css( this[0], n ) : null ) :
|
||||
this.css( n, h );
|
||||
|
|
Loading…
Reference in a new issue