some are more than any
This commit is contained in:
parent
83f02ee417
commit
706e6d4a01
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ Ox.$ = Ox.element = function(value) {
|
|||
className <s> Class name
|
||||
@*/
|
||||
hasClass: function hasClass(string) {
|
||||
return elements.any(function(element) {
|
||||
return elements.some(function(element) {
|
||||
return Ox.contains(element.className.split(' '), string);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue