From 85edcbb9bde16981ad9bd5ada14e20a05aeb0582 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Thu, 28 Nov 2019 15:04:27 +0100 Subject: [PATCH] style fix for plus btn --- src/app/tabs/compileTab/compilerContainer.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/app/tabs/compileTab/compilerContainer.js b/src/app/tabs/compileTab/compilerContainer.js index f96bfedbd2..d8e42328fb 100644 --- a/src/app/tabs/compileTab/compilerContainer.js +++ b/src/app/tabs/compileTab/compilerContainer.js @@ -209,8 +209,8 @@ class CompilerContainer {
-
@@ -269,7 +269,7 @@ class CompilerContainer { modalDialogCustom.prompt( 'Add a custom compiler', 'URL', - 'https://203137-40892817-gh.circle-artifacts.com/0/soljson.js', // removed me before merge + '', (url) => { this.addCustomCompiler(url) } @@ -278,7 +278,6 @@ class CompilerContainer { addCustomCompiler (url) { this.data.selectedVersion = this._view.versionSelector.value - this.data.customVersion = this._view.versionSelector.value // todo remove this._updateVersionSelector(url) } @@ -357,7 +356,6 @@ class CompilerContainer { let url if (customUrl) { this.data.selectedVersion = customUrl - this.data.version = 'custom' // TODO REMOVE this._view.versionSelector.appendChild(yo``) url = customUrl } else if (this.data.selectedVersion === 'builtin') { @@ -397,13 +395,12 @@ class CompilerContainer { } setVersionText (text) { - this.data.version = text // todo remove if (this._view.version) this._view.version.innerText = text } fetchAllVersion (callback) { minixhr(`${this.data.baseurl}/list.json`, (json, event) => { - // @TODO: optimise and cache results to improve app loading times + // @TODO: optimise and cache results to improve app loading times #2461 var allversions, selectedVersion if (event.type !== 'error') { try {