summaryrefslogtreecommitdiff
path: root/static/tests
diff options
context:
space:
mode:
authortimb <timb@mb.home>2010-02-15 03:35:27 -0800
committertimb <timb@mb.home>2010-02-15 03:35:27 -0800
commitbeb2a433bf18fd1d474314329bd6ee8f40f5bf10 (patch)
treea5616881134ba261b74be123db08316ca9610e9c /static/tests
parentb506502b1327b6b37e2aabdee7417d51a7e72b95 (diff)
attempt to fix scrolling
Diffstat (limited to 'static/tests')
-rw-r--r--static/tests/scrolling.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/tests/scrolling.html b/static/tests/scrolling.html
index bef6f7e..00e7b89 100644
--- a/static/tests/scrolling.html
+++ b/static/tests/scrolling.html
@@ -86,7 +86,7 @@ function isScrolledToBottom(){
}
function scrollIfPossible(){
- if (lastScriptedScrolledPosition >= messagePane.scrollTop || isScrolledToBottom())
+ if (lastScriptedScrolledPosition <= messagePane.scrollTop || isScrolledToBottom())
scrollToEnd()
}