mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -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);
|
.slice(0, -1);
|
||||||
if (username.length > 0 && this.ignoredUsers.includes(username)) {
|
if (username.length > 0 && this.ignoredUsers.includes(username)) {
|
||||||
$aside.find("p").remove();
|
$aside.find("p").remove();
|
||||||
|
$aside.addClass("ignored-user");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$(".quote-controls", $aside).html(expandContract + navLink);
|
$(".quote-controls", $aside).html(expandContract + navLink);
|
||||||
|
Loading…
Reference in New Issue
Block a user