From 0bf87cce1bf614580b78d03fbaf4ffe27064d160 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 28 Jun 2018 14:24:07 +0200 Subject: [PATCH] move queryParam --- src/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index 3d84f0e183..d81b95f9f0 100644 --- a/src/app.js +++ b/src/app.js @@ -499,8 +499,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org this._view.centerpanel.appendChild(this._components.editorpanel.render()) - var queryParams = new QueryParams() - // The event listener needs to be registered as early as possible, because the // parent will send the message upon the "load" event. var filesToLoad = null @@ -524,6 +522,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org self.loadFiles(filesToLoad) } + var queryParams = new QueryParams() var loadingFromGist = self.loadFromGist(queryParams.get()) // insert ballot contract if there are no files available