From 2411c9944f2c06e44ba27ff8c3d2ed10fd45cf72 Mon Sep 17 00:00:00 2001 From: Ryan Dao Date: Sun, 7 Dec 2014 12:44:41 +0800 Subject: [PATCH] Disable autofocus when initializing the console --- lib/action_dispatch/templates/rescues/_web_console.html.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/action_dispatch/templates/rescues/_web_console.html.erb b/lib/action_dispatch/templates/rescues/_web_console.html.erb index 2a89006f..e81d32d9 100644 --- a/lib/action_dispatch/templates/rescues/_web_console.html.erb +++ b/lib/action_dispatch/templates/rescues/_web_console.html.erb @@ -164,7 +164,6 @@ this.inner = container.getElementsByClassName('console-inner')[0]; this.clipboard = document.getElementById('clipboard'); this.newPromptBox(); - this.focus(); }; REPLConsole.prototype.focus = function() {