fix page up / page down in Ox.List

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

View file

@ -10,7 +10,6 @@ Ox.App <f> Basic application instance that communicates with a JSON API
url <s> JSON API url
self <o> Shared private variable
load <!> app loaded
@*/
Ox.App = function(options) {

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