textinput fixes for IE
This commit is contained in:
parent
63a6f19386
commit
573f532a07
2 changed files with 15 additions and 12 deletions
|
|
@ -263,13 +263,10 @@ var Editor =function(renderer, session) {
|
|||
// Safari needs the timeout
|
||||
// iOS and Firefox need it called immediately
|
||||
// to be on the save side we do both
|
||||
// except for IE
|
||||
var _self = this;
|
||||
if (!useragent.isIE) {
|
||||
setTimeout(function() {
|
||||
_self.textInput.focus();
|
||||
});
|
||||
}
|
||||
setTimeout(function() {
|
||||
_self.textInput.focus();
|
||||
});
|
||||
this.textInput.focus();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue