mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-20 13:14:27 -05:00
Fix typo in XHR
This commit is contained in:
parent
15c26d022b
commit
debe5cbea9
@ -231,7 +231,7 @@ function load_comments(target) {
|
|||||||
|
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if (xhr.readyState == 4) {
|
if (xhr.readyState == 4) {
|
||||||
if (xhr.statusCode == 200) {
|
if (xhr.status == 200) {
|
||||||
body.innerHTML = xhr.response.content_html;
|
body.innerHTML = xhr.response.content_html;
|
||||||
} else {
|
} else {
|
||||||
body.innerHTML = fallback;
|
body.innerHTML = fallback;
|
||||||
|
Loading…
Reference in New Issue
Block a user