Add missing parentheses
This commit is contained in:
parent
2ef7e81ce9
commit
6c5b9d249e
@ -338,13 +338,13 @@ You can listen to these events either with vanilla JavaScript
|
|||||||
```javascript
|
```javascript
|
||||||
document.addEventListener('ps-scroll-x', function () {
|
document.addEventListener('ps-scroll-x', function () {
|
||||||
// ...
|
// ...
|
||||||
}
|
})
|
||||||
```
|
```
|
||||||
or with jQuery
|
or with jQuery
|
||||||
```javascript
|
```javascript
|
||||||
$(document).on('ps-scroll-x', function () {
|
$(document).on('ps-scroll-x', function () {
|
||||||
// ...
|
// ...
|
||||||
}
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
Loading…
Reference in New Issue
Block a user