From 7e4c38ad722d7f02fd36473c7ffa5db0c52e7549 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 28 Feb 2019 00:00:13 +0100 Subject: [PATCH] don't open file at start --- src/app.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/app.js b/src/app.js index a7ac448069..bf2ebca727 100644 --- a/src/app.js +++ b/src/app.js @@ -544,18 +544,4 @@ Please make a backup of your contracts and start using http://remix.ethereum.org } }) } - - // Open last opened file - var previouslyOpenedFile = self._components.config.get('currentFile') - if (previouslyOpenedFile) { - self._components.filesProviders['browser'].get(previouslyOpenedFile, (error, content) => { - if (!error && content) { - fileManager.switchFile(previouslyOpenedFile) - } else { - fileManager.switchFile() - } - }) - } else { - fileManager.switchFile() - } }