Skip to content
Permalink
Browse files

Fixed the stupid parent() bug.

  • Loading branch information
jeresig committed Jul 5, 2006
1 parent f96c860 commit 32548da2476603b40df3a15afb536b2750321aec
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
},

0 comments on commit 32548da

Please sign in to comment.
You can’t perform that action at this time.