From 38ef0b10e79232de1c6fa2062d9983e4a944f6be Mon Sep 17 00:00:00 2001 From: meow Date: Wed, 20 Apr 2022 12:13:16 +0300 Subject: eqeqeq --- assets/js/community.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/js/community.js') diff --git a/assets/js/community.js b/assets/js/community.js index 5bc1ee2e..eebaf5d8 100644 --- a/assets/js/community.js +++ b/assets/js/community.js @@ -64,8 +64,8 @@ function get_youtube_replies(target, load_more) { xhr.open('GET', url, true); xhr.onreadystatechange = function () { - if (xhr.readyState == 4) { - if (xhr.status == 200) { + if (xhr.readyState === 4) { + if (xhr.status === 200) { if (load_more) { body = body.parentNode.parentNode; body.removeChild(body.lastElementChild); -- cgit v1.2.3