pull/5370/head
LianaHus 5 years ago committed by Liana Husikyan
parent 326814e530
commit eaaca91ae3
  1. 2
      src/app/tabs/staticanalysis/staticAnalysisView.js

@ -155,7 +155,7 @@ staticAnalysisView.prototype.checkModule = function (event) {
} }
staticAnalysisView.prototype.correctRunBtnDisabled = function () { staticAnalysisView.prototype.correctRunBtnDisabled = function () {
const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked') const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked')
if (this.lastCompilationResult && selected.length != 0) { if (this.lastCompilationResult && selected.length !== 0) {
this.runBtn.removeAttribute('disabled') this.runBtn.removeAttribute('disabled')
} else { } else {
this.runBtn.setAttribute('disabled', 'disabled') this.runBtn.setAttribute('disabled', 'disabled')

Loading…
Cancel
Save