1
0
Fork 0
forked from 0x2620/oxjs

fix page up / page down in Ox.List

This commit is contained in:
rlx 2011-11-03 16:05:24 +00:00
commit 4620461c86
2 changed files with 2 additions and 3 deletions

View file

@ -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) {