Commit c0813320 authored by Leo Iannacone's avatar Leo Iannacone

use height() to get the correct body height

parent c06f487e
...@@ -90,7 +90,7 @@ function Page_Distrubion(socket) { ...@@ -90,7 +90,7 @@ function Page_Distrubion(socket) {
go: { go: {
down: function (height) { down: function (height) {
if (height === undefined) if (height === undefined)
height = $('body').offset().top; height = $('body').height();
debug(2, 'scrolling page down - height', height); debug(2, 'scrolling page down - height', height);
$('html,body').animate({ $('html,body').animate({
scrollTop: height scrollTop: height
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment