From: Gerd Flaig Date: Sun, 9 May 2010 22:03:49 +0000 (+0200) Subject: scrollMaxY is not defined in Chrome X-Git-Url: http://git.pond.sub.org/?p=eow;a=commitdiff_plain;h=5ddb8d671e8383242a8eed9e0ae30e5ed3402f83;hp=96d5b46f8a408652757fb21a801c005697dc45f7 scrollMaxY is not defined in Chrome --- diff --git a/static/eow.js b/static/eow.js index 631894f..aeac004 100644 --- a/static/eow.js +++ b/static/eow.js @@ -80,7 +80,7 @@ function inputfield_keyup(e) { if (e.keyCode == 13) { // Enter eowOut($("#prompt").text() + e.target.value); submit_cmdline(e.target.value); - window.scrollTo(0, window.scrollMaxY); + window.scrollTo(0, window.outerHeight); e.target.value = ""; } }