prototype: Element#classNames should still use the Element.ClassNames API for now

This commit is contained in:
Sam Stephenson 2007-07-24 20:53:32 +00:00
parent 82bedcee84
commit 1575435f5e
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ Element.Methods = {
},
classNames: function(element) {
return $w(element.className);
return new Element.ClassNames(element);
},
hasClassName: function(element, className) {