First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css).
This commit is contained in:
parent
2912f8ab95
commit
920099b29c
5 changed files with 71 additions and 99 deletions
|
@ -339,9 +339,5 @@ jQuery.extend({
|
|||
// Non-existent attributes return null, we normalize to undefined
|
||||
return attr === null ? undefined : attr;
|
||||
}
|
||||
|
||||
// elem is actually elem.style ... set the style
|
||||
// Using attr for specific style information is now deprecated. Use style instead.
|
||||
return jQuery.style( elem, name, value );
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue