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) {
go: {
down: function (height) {
if (height === undefined)
height = $('body').offset().top;
height = $('body').height();
debug(2, 'scrolling page down - height', height);
$('html,body').animate({
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