Permalink
Browse files

Issue with the example for Element.contains()

  • Loading branch information...
1 parent 8e26ef1 commit 241946e65f6e47c49db8a536a0752c627991263e Oskar Krawczyk committed Dec 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Docs/Element/Element.md
View
@@ -464,7 +464,7 @@ Checks all descendants of this Element for a match.
##### JavaScript
- if ($('Darth_Vader').contains('Luke')) alert('Luke, I am your father.'); //tan tan tannn...
+ if ($('Darth_Vader').contains($('Luke'))) alert('Luke, I am your father.'); //tan tan tannn...

0 comments on commit 241946e

Please sign in to comment.