From: Gilles van den Hoven Date: Tue, 6 Jun 2006 12:51:44 +0000 (+0000) Subject: name == id bug, second attempt X-Git-Tag: 1.0a~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69ae9aeab0bae23f0fb6673d5ad58ffce44c7841;p=jquery.git name == id bug, second attempt --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 1076ef5e7..15bb8278e 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -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",