diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-11 09:36:39 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-11 09:36:39 -0500 |
| commit | debe5cbea9fe95b3413e06291815b35c903b1239 (patch) | |
| tree | 12a986941e6b39da944926397e76352fbe51d72e | |
| parent | 15c26d022bc03ec3ea49af0a2fe0b7edddffbc28 (diff) | |
| download | invidious-debe5cbea9fe95b3413e06291815b35c903b1239.tar.gz invidious-debe5cbea9fe95b3413e06291815b35c903b1239.tar.bz2 invidious-debe5cbea9fe95b3413e06291815b35c903b1239.zip | |
Fix typo in XHR
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
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; |
