This commit is contained in:
meow 2022-04-20 12:13:16 +03:00
parent c72d3c4a0e
commit 38ef0b10e7
9 changed files with 45 additions and 45 deletions

View file

@ -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);