mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 20:54:00 -06:00
FEATURE: add class to <aside> quote block when quoting an ignored user (#9511)
* add class to <aside> quote block when quoted an ignored user * Changed from single to double quotes
This commit is contained in:
parent
13f2723dcb
commit
45f3517ef6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user