diff options
-rw-r--r-- | src/selector/selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js index 6a5760a70..be279a7fc 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -155,7 +155,7 @@ jQuery.extend({ // Perform our own iteration and filter jQuery.each( ret, function(){ for ( var c = this.firstChild; c; c = c.nextSibling ) - if ( c.nodeType == 1 && ( c.nodeName == m[1].toUpperCase() || m[1] == "*" ) ) + if ( c.nodeType == 1 && ( c.nodeName.toUpperCase() == m[1].toUpperCase() || m[1] == "*" ) ) r.push( c ); }); |