diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-04-24 11:38:23 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-04-24 11:40:42 -0400 |
commit | 78c803f1b5198e77f77231516db3912aa9a87055 (patch) | |
tree | 0eab77079f2507072562cdd7574143226991db90 /src/traversing.js | |
parent | ad71f47b27f463c6952768c5ab2773ae15ffa745 (diff) | |
download | jquery-78c803f1b5198e77f77231516db3912aa9a87055.tar.gz jquery-78c803f1b5198e77f77231516db3912aa9a87055.zip |
Fix #13819: .parent sort direction
(cherry picked from commit 6a816ec95fd96d130a4af67a28873d9daa66a328)
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js index 5e9fe1943..6f68e7821 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -201,7 +201,7 @@ jQuery.each({ } // Reverse order for parents* and prev* - if ( name[ 0 ] === "p" ) { + if ( name[ 0 ] === "p" && name !== "parent" ) { matched.reverse(); } } |