summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCătălin Badea <catalin.badea392@gmail.com>2012-08-21 19:06:05 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-08-30 20:54:18 (GMT)
commit7d0cd94de71d9e55e573e28206470439ecde3db5 (patch)
treec361caa96dac71d53a74ba76aa3dc1d349a0c59e /Swift/resources/themes/Default/Template.html
parent6856199274e9c5e581220fccf520b8f011519d17 (diff)
downloadswift-7d0cd94de71d9e55e573e28206470439ecde3db5.zip
swift-7d0cd94de71d9e55e573e28206470439ecde3db5.tar.bz2
History dialog
Add history dialog as an experimental feature. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/resources/themes/Default/Template.html')
-rwxr-xr-xSwift/resources/themes/Default/Template.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/resources/themes/Default/Template.html b/Swift/resources/themes/Default/Template.html
index e94701a..9d5c3a0 100755
--- a/Swift/resources/themes/Default/Template.html
+++ b/Swift/resources/themes/Default/Template.html
@@ -276,7 +276,7 @@
//return;
if( intervall_scroll ) clearInterval( intervall_scroll );
intervall_scroll = setInterval( function() {
- var target_scroll = (document.body.scrollHeight-window.innerHeight);
+ var target_scroll = (document.body.scrollHeight-window.innerHeight) - 1;
var scrolldiff = target_scroll - document.body.scrollTop;
if ( document.body.scrollTop != target_scroll ) {
var saved_scroll = document.body.scrollTop;