git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268c82a
)
changed ID selector code
author
Gilles van den Hoven
<gilles0181@gmail.com>
Thu, 15 Jun 2006 10:02:37 +0000
(10:02 +0000)
committer
Gilles van den Hoven
<gilles0181@gmail.com>
Thu, 15 Jun 2006 10:02:37 +0000
(10:02 +0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
fe42cac
..
cfac542
100644
(file)
--- 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",