projects
/
eow
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use scrollIntoView instead of scrollMaxY
[eow]
/
static
/
eow.js
diff --git
a/static/eow.js
b/static/eow.js
index 2379559f338b2a5765f8bd9ac14045e0cdf23c03..631894f0b70ff92059ca0daa4dddb03d8bb3c4e2 100644
(file)
--- a/
static/eow.js
+++ b/
static/eow.js
@@
-11,7
+11,7
@@
function setup() {
function eowOut(output) {
$("#output").append("<pre>" + output + "</pre>");
-
window.scrollTo(0, window.scrollMaxY
);
+
$("input")[0].scrollIntoView(false
);
}
function get_next_update() {