Permalink
Browse files

default maxPage is changed as undefined

  • Loading branch information...
1 parent ecb493d commit 311d304e61c62ce8e92a82b6b9deb007488584d7 @hkulekci hkulekci committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
@@ -47,7 +47,7 @@ $('.selector').infinitescroll({
pixelsFromNavToBottom: undefined,
path: undefined, // Can either be an array of URL parts (e.g. ["/page/", "/"]) or a function that accepts the page number and returns a URL
prefill: false, // When the document is smaller than the window, load data until the document is larger or links are exhausted
- maxPage:0 // to manually control maximum page (when maxPage is 0, maximum page limitation is not work)
+ maxPage:undefined // to manually control maximum page (when maxPage is undefined, maximum page limitation is not work)
});
```

0 comments on commit 311d304

Please sign in to comment.