From debe5cbea9fe95b3413e06291815b35c903b1239 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 11 Aug 2018 09:36:39 -0500 Subject: [PATCH] Fix typo in XHR --- src/invidious/views/watch.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;