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:
f96c860
)
Fixed the stupid parent() bug.
author
John Resig
<jeresig@gmail.com>
Wed, 5 Jul 2006 02:03:38 +0000
(
02:03
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 5 Jul 2006 02:03:38 +0000
(
02:03
+0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
06d7504
..
7eddb39
100644
(file)
--- a/
jquery/jquery.js
+++ b/
jquery/jquery.js
@@
-271,7
+271,7
@@
jQuery.fn = jQuery.prototype = {
},
parent: function(a) {
- var ret = jQuery.map(this.cur,"d.parentNode");
+ var ret = jQuery.map(this.cur,"a.parentNode");
if ( a ) ret = jQuery.filter(a,ret).r;
return this.pushStack(ret);
},