Commit 7e4c38ad authored by yann300's avatar yann300

don't open file at start

parent 2b763580
...@@ -544,18 +544,4 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -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()
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment