convert to integer

pull/543/head
LianaHus 4 years ago
parent ef0c878bcc
commit 61cc112d61
  1. 8
      apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js

@ -353,7 +353,7 @@ class CompilerContainer {
}
onchangeRuns () {
this.compileTabLogic.setRuns(this._view.runs.value)
this.compileTabLogic.setRuns(parseInt(this._view.runs.value))
this.compileIfAutoCompileOn()
}
@ -397,8 +397,10 @@ class CompilerContainer {
}
setRuns (value) {
this._view.runs.value = value
this.onchangeRuns()
if (value) {
this._view.runs.value = value
this.onchangeRuns()
}
}
setLanguage (lang) {

Loading…
Cancel
Save