Skip to content

Commit f887eb7

Browse files
authored
Merge pull request Fechin#617 from FireIsGood/jquery
Fix incorrect JQuery snippet
2 parents 915dc44 + 155f549 commit f887eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_posts/jquery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $(selector).methodOrFunction();
3939
#### Example:
4040

4141
```javascript
42-
$("#menu").on("click", () => {
42+
$("#menu").on("click", function () {
4343
$(this).hide();
4444
});
4545

0 commit comments

Comments
 (0)