Removed recent cssText addition, doesn't work as expected.

This commit is contained in:
John Resig 2006-06-16 00:22:00 +00:00
parent 598fcca346
commit 894fc4b280

3
jquery/jquery.js vendored
View File

@ -607,8 +607,7 @@ $.attr = function(o,a,v){
'for': 'htmlFor',
'text': 'cssText',
'class': 'className',
'float': 'cssFloat',
'style': 'cssText'
'float': 'cssFloat'
};
a = (fix[a] && fix[a].replace && fix[a]) || a;
var r = new RegExp("-([a-z])","ig");