From 32548da2476603b40df3a15afb536b2750321aec Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 5 Jul 2006 02:03:38 +0000 Subject: [PATCH] Fixed the stupid parent() bug. --- jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.js b/jquery/jquery.js index 06d75045f..7eddb394d 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); },