Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
modos189 committed Apr 15, 2019
1 parent 4a2f9b7 commit 17ac045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function checkStatusLocalServer() {
xhr2.open("GET", "http://" + host + "/" + channel + ".json", true);
xhr2.timeout = 1000;
xhr2.onreadystatechange = function() {
if (xhr1.readyState === 4 && xhr2.status === 200) {
if (xhr2.readyState === 4 && xhr2.status === 200) {
document.getElementById("local-server__input__channel").classList.remove("local-server__input__err");
document.getElementById("local-server__input__channel").classList.add("local-server__input__ok");
}
Expand Down

0 comments on commit 17ac045

Please sign in to comment.