summaryrefslogtreecommitdiffstats
path: root/assets/js/community.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/js/community.js4
1 files changed, 2 insertions, 2 deletions
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);