diff --git a/README.md b/README.md index b70d6df..46e5f78 100644 --- a/README.md +++ b/README.md @@ -338,13 +338,13 @@ You can listen to these events either with vanilla JavaScript ```javascript document.addEventListener('ps-scroll-x', function () { // ... -} +}) ``` or with jQuery ```javascript $(document).on('ps-scroll-x', function () { // ... -} +}) ``` ## Contribution