Skip to content
Permalink
Browse files
Fixed the stupid parent() bug.
  • Loading branch information
jeresig committed Jul 5, 2006
1 parent f96c860 commit 32548da
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);
},

0 comments on commit 32548da

Please sign in to comment.