]> source.dussan.org Git - jquery.git/commitdiff
name == id bug, second attempt
authorGilles van den Hoven <gilles0181@gmail.com>
Tue, 6 Jun 2006 12:51:44 +0000 (12:51 +0000)
committerGilles van den Hoven <gilles0181@gmail.com>
Tue, 6 Jun 2006 12:51:44 +0000 (12:51 +0000)
jquery/jquery.js

index 1076ef5e78be422e36127095be6d3c4317694b92..15bb8278ec502ec88d689e98bdff9f9904e98bb6 100644 (file)
@@ -398,7 +398,7 @@ $.clean = function(a) {
 
 $.g = {
        '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()",
-       '#': "a.getAttribute('id') == m[2]",
+       '#': "a.attributes['id'].nodeValue == m[2]",
        ':': {
                lt: "i < m[3]-0",
                gt: "i > m[3]-0",