mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-04 15:54:00 +01:00
Focus on editor in 4ms
Wasn't focusing after switch, this solves the issue
This commit is contained in:
@@ -1518,7 +1518,7 @@ var ICEcoder = {
|
||||
cM.getWrapperElement().style.display = "block";
|
||||
|
||||
// Focus on & refresh our selected instance
|
||||
if (!noFocus) {cM.focus();}
|
||||
if (!noFocus) {setTimeout(function() {cM.focus();},4);}
|
||||
cM.refresh();
|
||||
|
||||
// Highlight the selected tab
|
||||
|
||||
Reference in New Issue
Block a user