pull/19/head
aniket-engg 4 years ago
parent 7830ed4854
commit 73ca651293
  1. 3
      apps/remix-ide/src/app/tabs/test-tab.js

@ -103,7 +103,8 @@ module.exports = class TestTab extends ViewPlugin {
if (eChecked) { if (eChecked) {
checkAll.checked = true checkAll.checked = true
if ((this.readyTestsNumber === this.runningTestsNumber || this.hasBeenStopped) && document.getElementById('runTestsTabStopAction').innerText === ' Stop') { const stopBtnInnerText = document.getElementById('runTestsTabStopAction').innerText
if ((this.readyTestsNumber === this.runningTestsNumber || this.hasBeenStopped) && stopBtnInnerText.trim() === 'Stop') {
runBtn.removeAttribute('disabled') runBtn.removeAttribute('disabled')
runBtn.setAttribute('title', 'Run tests') runBtn.setAttribute('title', 'Run tests')
} }

Loading…
Cancel
Save