Skip to content

Commit

Permalink
Refresh the UI when output is opened/closed
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorR committed Jan 9, 2020
1 parent 9aabbb6 commit e84f9d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/livede.js
Expand Up @@ -753,6 +753,8 @@
outputCM.setValue("");
}

ide.refresh();

// Get the code
var code = ide.getValue();

Expand All @@ -768,8 +770,10 @@
outputUI.style.display = "none";
ideUI.style.right = "0";

if (ide)
if (ide) {
ide.refresh();
ide.focus();
}
}

// Save the current state
Expand Down

0 comments on commit e84f9d9

Please sign in to comment.