Commit dd1fdc0e authored by Harlan Lieberman-Berg's avatar Harlan Lieberman-Berg

Force focus on the input box after enter key

This only seems to be a problem on FF Nightly (57.0a1 (2017-09-13)),
but it seems harmless for other browsers.
parent 04a0ad42
......@@ -118,6 +118,7 @@ window.webmu = (function() {
historyPos = history.length;
dirtyHistory = undefined;
inputbox.value = '';
inputbox.focus();
break;
case "ArrowUp":
if (inputbox.value.trim() && historyPos == history.length) {
......
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