Skip to content

Commit d97d219

Browse files
committed
fix: JQuery $(this) example
1 parent affe159 commit d97d219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)