We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bdcfb2 commit 3139c25Copy full SHA for 3139c25
1 file changed
jquery-patterns/context-and-find.html
@@ -14,7 +14,7 @@
14
// antipattern
15
$('.reply_form', $(this).closest('.comment')).hide();
16
// preferred
17
-$('this').closest('.comment').find('.reply_form').hide();
+$(this).closest('.comment').find('.reply_form').hide();
18
19
// reference
20
// http://paulirish.com/2009/perf/
0 commit comments