aboutsummaryrefslogtreecommitdiff
path: root/static/panes/tool.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/panes/tool.js')
-rw-r--r--static/panes/tool.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/panes/tool.js b/static/panes/tool.js
index d407efe6b..7827965e0 100644
--- a/static/panes/tool.js
+++ b/static/panes/tool.js
@@ -491,6 +491,7 @@ Tool.prototype.onCompileResult = function (id, compiler, result) {
if (toolResult.languageId) {
this.setEditorContent(_.pluck(toolResult.stdout, 'text').join('\n'));
} else {
+ this.plainContentRoot.empty();
_.each(
(toolResult.stdout || []).concat(toolResult.stderr || []),
function (obj) {