summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-08-01 10:55:21 (GMT)
committerCatalin Badea <catalin.badea392@gmail.com>2012-08-01 10:55:21 (GMT)
commitddd4265b65c4a523d6f86abf6cad8fcda16be021 (patch)
tree07308a4bff15198844be1bc217d9533b7fb68c5d /Swift/resources/themes/Default/Template.html
parent2fe9c9f3952b5ab6b8a158233deda8a89fe0b589 (diff)
downloadswift-contrib-ddd4265b65c4a523d6f86abf6cad8fcda16be021.zip
swift-contrib-ddd4265b65c4a523d6f86abf6cad8fcda16be021.tar.bz2
Fix javascript autoscrolling.
Diffstat (limited to 'Swift/resources/themes/Default/Template.html')
-rwxr-xr-xSwift/resources/themes/Default/Template.html4
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 );