Skip to content

Commit

Permalink
added live count
Browse files Browse the repository at this point in the history
  • Loading branch information
rndexe authored Sep 19, 2020
1 parent 7f3cd1e commit 5c1f0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/livetheatre.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function getViewerCount() {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
console.log(this.responseText);
liveCtr.innerText = this.responseText;
}
};

Expand Down

0 comments on commit 5c1f0d6

Please sign in to comment.