mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
fix: JQuery $(this) example
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ $(selector).methodOrFunction();
|
||||
#### Example:
|
||||
|
||||
```javascript
|
||||
$("#menu").on("click", () => {
|
||||
$("#menu").on("click", function () {
|
||||
$(this).hide();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user