forked from 0x2620/oxjs
fix page up / page down in Ox.List
This commit is contained in:
parent
094b1a59ec
commit
4620461c86
2 changed files with 2 additions and 3 deletions
|
|
@ -1055,11 +1055,11 @@ Ox.List = function(options, self) {
|
|||
}
|
||||
|
||||
function scrollPageDown() {
|
||||
that.scrollBy(getHeight());
|
||||
that.scrollTop(that.scrollTop() + getHeight());
|
||||
}
|
||||
|
||||
function scrollPageUp() {
|
||||
that.scrollBy(-getHeight());
|
||||
that.scrollTop(that.scrollTop() - getHeight());
|
||||
}
|
||||
|
||||
function scrollTo(value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue