this timeout does more harm than it helps.
Prevents iOS keyboard from opening and has problems in FF4
This commit is contained in:
parent
6097f1cdfc
commit
7d919c0516
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ var Editor =function(renderer, session) {
|
|||
this.keyBinding = new KeyBinding(this);
|
||||
var self = this;
|
||||
event.addListener(container, "mousedown", function(e) {
|
||||
setTimeout(function() {self.focus();});
|
||||
self.focus();
|
||||
return event.preventDefault(e);
|
||||
});
|
||||
event.addListener(container, "selectstart", function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue