From 6203a761f12f07ed287b4bb27f8fad796c91b57c Mon Sep 17 00:00:00 2001 From: Omar Shammas Date: Thu, 7 Feb 2013 10:35:50 -0500 Subject: [PATCH] Fixing typo in an example --- page/using-jquery-core/traversing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/using-jquery-core/traversing.md b/page/using-jquery-core/traversing.md index 000597da..1920a9b2 100644 --- a/page/using-jquery-core/traversing.md +++ b/page/using-jquery-core/traversing.md @@ -91,7 +91,7 @@ $("div.parent").nextAll().last(); //Selecting all the previous siblings of the selector // returns [ div.surrogateParent1, div.parent ] -$("div.pasurrogateParent2rent").prevAll(); +$("div.surrogateParent2").prevAll(); // returns [ div.surrogateParent1 ] $("div.surrogateParent2").prevAll().first(); // returns [ div.parent ]