diff options
author | John Resig <jeresig@gmail.com> | 2007-08-19 00:07:41 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-08-19 00:07:41 +0000 |
commit | 05d401dd8439d8a2137d3fb69a70d671c0d3a69d (patch) | |
tree | 8e06d0eb3ea4432a3d74ff14abd9e42818379f3e /src/jquery/jquery.js | |
parent | 760a244dbdca7b5a93d147c62ac37ff6eeb9573b (diff) | |
download | jquery-05d401dd8439d8a2137d3fb69a70d671c0d3a69d.tar.gz jquery-05d401dd8439d8a2137d3fb69a70d671c0d3a69d.zip |
Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 94f099be8..bc4bcd1e7 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -2073,7 +2073,7 @@ jQuery.each({ var ret = jQuery.map(this,n); if ( a && typeof a == "string" ) ret = jQuery.multiFilter(a,ret); - return this.pushStack( ret ); + return this.pushStack( jQuery.unique(ret) ); }; }); |