mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix typo in XHR
This commit is contained in:
parent
15c26d022b
commit
debe5cbea9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue