From beb2a433bf18fd1d474314329bd6ee8f40f5bf10 Mon Sep 17 00:00:00 2001 From: timb Date: Mon, 15 Feb 2010 03:35:27 -0800 Subject: attempt to fix scrolling --- static/tests/scrolling.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/tests/scrolling.html') 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() } -- cgit v1.2.3-70-g09d2