Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed cancelled comment bug
  • Loading branch information
rally-zach committed Aug 12, 2021
1 parent fdb1c94 commit 6dcb4f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content_script.js
Expand Up @@ -1797,7 +1797,7 @@ function cancelComment(e, el) {

parent.parentElement.removeChild(parent);

if(simpleArticleIframe.querySelector(".simple-comment-container") == null) {
if(simpleArticleIframe.querySelectorAll(".simple-comment-container").length === 0) {
simpleArticleIframe.body.classList.remove("simple-with-comments");
}
simpleArticleIframe.body.classList.remove("simple-commenting");
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"name": "Just Read",
"version": "5.1.8",
"version": "5.1.9",
"manifest_version": 2,
"description": "A feature-packed, customizable reader extension.",
"homepage_url": "https://github.com/ZachSaucier/Just-Read",
Expand Down

0 comments on commit 6dcb4f0

Please sign in to comment.