FEATURE: add class to <aside> quote block when quoting an ignored user (#9511)

FEATURE: add class to

  • add class to

  • Changed from single to double quotes

diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js b/app/assets/javascripts/discourse/widgets/post-cooked.js
index 3b0ca24..f587a76 100644
--- a/app/assets/javascripts/discourse/widgets/post-cooked.js
+++ b/app/assets/javascripts/discourse/widgets/post-cooked.js
@@ -241,6 +241,7 @@ export default class PostCooked {
         .slice(0, -1);
       if (username.length > 0 && this.ignoredUsers.includes(username)) {
         $aside.find("p").remove();
+        $aside.addClass("ignored-user");
       }
     }
     $(".quote-controls", $aside).html(expandContract + navLink);

GitHub sha: 45f3517e

This commit appears in #9511 which was merged by eviltrout.