Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadreza1388 committed Sep 8, 2024
1 parent c57750d commit d943272
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,11 @@ executeButton.addEventListener('click', () => {
}
}
});

if (status === 1) {
codeTextArea.addEventListener("input", function () {
runSalam();
})
}

codeTextArea.addEventListener("input", function () {
if(status === 1){
runSalam()
}
})
toggleBtn.addEventListener('change', function () {
if (this.checked) {
status = 1
Expand Down

0 comments on commit d943272

Please sign in to comment.