Skip to content

Commit a15bf22

Browse files
authored
Merge pull request #440 from webcreate/fieg-patch-1
Fix example for scrollContainer option
2 parents 64f479f + 7000736 commit a15bf22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ Note: Only a single element should match the selector.
118118
```
119119

120120
```javascript
121-
let ias = new InfiniteAjaxScroll('#scroller', {
122-
scrollContainer: '.container'
121+
let ias = new InfiniteAjaxScroll('.container', {
122+
scrollContainer: '#scroller'
123123
})
124124
```
125125

0 commit comments

Comments
 (0)