Commit 32548da2 authored by John Resig's avatar John Resig

Fixed the stupid parent() bug.

parent f96c860b
......@@ -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);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment