From f242c1e751bece21633b46844c8817e06dce966b Mon Sep 17 00:00:00 2001 From: Gerd Flaig Date: Mon, 10 May 2010 22:29:34 +0200 Subject: [PATCH] Ensure focus on input field --- static/eow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/eow.js b/static/eow.js index aeac004..bdad450 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.outerHeight); + $("#inputfield").focus(); e.target.value = ""; } } -- 2.43.0