diff --git a/source/_posts/jquery.md b/source/_posts/jquery.md index 206ceec..f334b0c 100644 --- a/source/_posts/jquery.md +++ b/source/_posts/jquery.md @@ -39,7 +39,7 @@ $(selector).methodOrFunction(); #### Example: ```javascript -$("#menu").on("click", () => { +$("#menu").on("click", function () { $(this).hide(); });