diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-08-01 10:55:21 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-08-01 10:55:21 (GMT) |
commit | ddd4265b65c4a523d6f86abf6cad8fcda16be021 (patch) | |
tree | 07308a4bff15198844be1bc217d9533b7fb68c5d /Swift/resources/themes/Default/Template.html | |
parent | 2fe9c9f3952b5ab6b8a158233deda8a89fe0b589 (diff) | |
download | swift-contrib-ddd4265b65c4a523d6f86abf6cad8fcda16be021.zip swift-contrib-ddd4265b65c4a523d6f86abf6cad8fcda16be021.tar.bz2 |
Fix javascript autoscrolling.
Diffstat (limited to 'Swift/resources/themes/Default/Template.html')
-rwxr-xr-x | Swift/resources/themes/Default/Template.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/resources/themes/Default/Template.html b/Swift/resources/themes/Default/Template.html index e94701a..3885330 100755 --- a/Swift/resources/themes/Default/Template.html +++ b/Swift/resources/themes/Default/Template.html @@ -272,6 +272,10 @@ var intervall_scroll; function scrollToBottom() { + if (disableAutoScroll) { + return; + } + //document.body.scrollTop = (document.body.scrollHeight-window.innerHeight); //return; if( intervall_scroll ) clearInterval( intervall_scroll ); |