From 29c76ef515504c8bdf4e65f7d1199c4777f9f0e5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 May 2019 10:24:01 +0200 Subject: [PATCH] not removing warning / error from compile tab upon file changed --- src/app/tabs/compile-tab.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 4e3fe81b18..a6acd5250a 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -98,19 +98,12 @@ class CompileTab extends CompilerApi { this.fileManager.events.on('currentFileChanged', (name) => { this.compilerContainer.currentFile = name - cleanupErrors() }) this.fileManager.events.on('noFileSelected', () => { this.compilerContainer.currentFile = '' - cleanupErrors() }) - const cleanupErrors = () => { - this._view.errorContainer.innerHTML = '' - this.events.emit('statusChanged', {key: 'none'}) - } - this.compiler.event.register('compilationFinished', (success, data, source) => { if (success) { // forwarding the event to the appManager infra