prototype: Element#classNames should still use the Element.ClassNames API for now
This commit is contained in:
parent
82bedcee84
commit
1575435f5e
|
@ -285,7 +285,7 @@ Element.Methods = {
|
|||
},
|
||||
|
||||
classNames: function(element) {
|
||||
return $w(element.className);
|
||||
return new Element.ClassNames(element);
|
||||
},
|
||||
|
||||
hasClassName: function(element, className) {
|
||||
|
|
Loading…
Reference in New Issue