Skip to content

Commit

Permalink
Fix a bug where if you could only click reply buttons once
Browse files Browse the repository at this point in the history
  • Loading branch information
ymeynot45 committed Jul 6, 2022
1 parent c4307ba commit 651c249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/application.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ onPageLoad(() => {
response.text().then(text => replace(comment, text));
});
} else {
comment.remove();
comment.parentElement.remove();
}
});

Expand Down

0 comments on commit 651c249

Please sign in to comment.