summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-11 09:36:39 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-11 09:36:39 -0500
commitdebe5cbea9fe95b3413e06291815b35c903b1239 (patch)
tree12a986941e6b39da944926397e76352fbe51d72e
parent15c26d022bc03ec3ea49af0a2fe0b7edddffbc28 (diff)
downloadinvidious-debe5cbea9fe95b3413e06291815b35c903b1239.tar.gz
invidious-debe5cbea9fe95b3413e06291815b35c903b1239.tar.bz2
invidious-debe5cbea9fe95b3413e06291815b35c903b1239.zip
Fix typo in XHR
-rw-r--r--src/invidious/views/watch.ecr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index ca3003c8..2095ec73 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -231,7 +231,7 @@ function load_comments(target) {
xhr.onreadystatechange = function() {
if (xhr.readyState == 4) {
- if (xhr.statusCode == 200) {
+ if (xhr.status == 200) {
body.innerHTML = xhr.response.content_html;
} else {
body.innerHTML = fallback;