Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80ddc10

Browse files
committed
Merge pull request chuanxshi#10 from matsuu/patch-1
Update jquery-patterns/context-and-find.html
2 parents 4bdcfb2 + 3139c25 commit 80ddc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-patterns/context-and-find.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// antipattern
1515
$('.reply_form', $(this).closest('.comment')).hide();
1616
// preferred
17-
$('this').closest('.comment').find('.reply_form').hide();
17+
$(this).closest('.comment').find('.reply_form').hide();
1818

1919
// reference
2020
// http://paulirish.com/2009/perf/

0 commit comments

Comments
 (0)