From: Gerd Flaig Date: Sun, 8 Nov 2009 15:36:57 +0000 (+0100) Subject: Use scrollIntoView instead of scrollMaxY X-Git-Url: http://git.pond.sub.org/?p=eow;a=commitdiff_plain;h=3c53e3972ebe721c7e58a95f403426503f827fa1 Use scrollIntoView instead of scrollMaxY --- diff --git a/static/eow.js b/static/eow.js index 2379559..631894f 100644 --- a/static/eow.js +++ b/static/eow.js @@ -11,7 +11,7 @@ function setup() { function eowOut(output) { $("#output").append("
" + output + "
"); - window.scrollTo(0, window.scrollMaxY); + $("input")[0].scrollIntoView(false); } function get_next_update() {