diff options
Diffstat (limited to 'static/tests/scrolling.html')
| -rw-r--r-- | static/tests/scrolling.html | 2 |
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() } |
