From 7823d732b039f8e51d26147d8723fb0c5ffbf6c0 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 May 2019 09:45:14 +0200 Subject: [PATCH] Update compile-tab.js --- src/app/tabs/compile-tab.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 3677852430..4e3fe81b18 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -80,7 +80,6 @@ class CompileTab extends CompilerApi { this.events.emit('statusChanged', {key: 'edited', title: 'the content has changed, needs recompilation', type: 'info'}) } this.editor.event.register('contentChanged', onContentChanged) - this.editor.event.register('sessionSwitched', onContentChanged) this.compiler.event.register('loadingCompiler', () => { this.events.emit('statusChanged', {key: 'loading', title: 'loading compiler...', type: 'info'}) @@ -100,7 +99,6 @@ class CompileTab extends CompilerApi { this.fileManager.events.on('currentFileChanged', (name) => { this.compilerContainer.currentFile = name cleanupErrors() - onContentChanged() }) this.fileManager.events.on('noFileSelected', () => {