changed ID selector code

This commit is contained in:
Gilles van den Hoven 2006-06-15 10:02:37 +00:00
parent 268c82a903
commit f9dbb9f73a

2
jquery/jquery.js vendored
View File

@ -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",