Skip to content

Commit

Permalink
fix: wasn't re-enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiam authored Apr 21, 2020
1 parent 5403ebe commit 006a568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function showOutput(similarity) {
document.getElementById("output").style.visibility = "visible";
document.getElementById("get-similarity").style.display = "block";
document.getElementById("spinner").style.visibility = "hidden";
document.getElementById("input").setAttribute("disabled", false);
document.getElementById("input").removeAttribute("disabled");
document.getElementById("input").classList.remove("disabled");
}

Expand Down

0 comments on commit 006a568

Please sign in to comment.