Fixed the stupid parent() bug.
This commit is contained in:
parent
f96c860bbd
commit
32548da247
1 changed files with 1 additions and 1 deletions
2
jquery/jquery.js
vendored
2
jquery/jquery.js
vendored
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue