From 28e1e159f63a2e7114938e94a1a5645488eddb08 Mon Sep 17 00:00:00 2001 From: nightwing Date: Thu, 7 Jun 2012 13:40:35 +0400 Subject: [PATCH] do not call host.onFocus before textarea is actually focused --- lib/ace/keyboard/textinput.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index d0d08351..e4ba3e1c 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -246,7 +246,6 @@ var TextInput = function(parentNode, host) { }); this.focus = function() { - host.onFocus(); reset(); text.focus(); };