Use self.pageLength instead of self.options.pageLength in List::getPageByPosition #359
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ Ox.List = function(options, self) {
|
|||
}
|
||||
|
||||
function getPageByPosition(pos) {
|
||||
return Math.floor(pos / self.options.pageLength);
|
||||
return Math.floor(pos / self.pageLength);
|
||||
}
|
||||
|
||||
function getPageByScrollPosition(pos) {
|
||||
|
|
Loading…
Reference in a new issue