From: John Resig Date: Wed, 5 Jul 2006 02:03:38 +0000 (+0000) Subject: Fixed the stupid parent() bug. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=32548da2476603b40df3a15afb536b2750321aec;p=jquery.git Fixed the stupid parent() bug. --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 06d7504..7eddb39 100644 --- 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); },