From f9dbb9f73a7336b826533a6b1d81e2e759380948 Mon Sep 17 00:00:00 2001 From: Gilles van den Hoven Date: Thu, 15 Jun 2006 10:02:37 +0000 Subject: [PATCH] changed ID selector code --- jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.js b/jquery/jquery.js index fe42cac5..cfac542b 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -423,7 +423,7 @@ $.clean = function(a) { $.g = { '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()", - '#': "a.attributes['id'].nodeValue == m[2]", + '#': "a.getAttribute('id') && a.getAttribute('id').nodeValue == m[2]", ':': { lt: "i < m[3]-0", gt: "i > m[3]-0",