mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-23 21:47:04 +01:00
If attribute null, dont collapse
This commit is contained in:
parent
2b68179a82
commit
a571e58bbc
@ -988,7 +988,7 @@
|
||||
for (var i = 1; i < allMessages.length; i++) {
|
||||
var last = $(allMessages[i - 1]);
|
||||
var current = $(allMessages[i]);
|
||||
if (last.attr("discord_userid") == current.attr("discord_userid")) {
|
||||
if (last.attr("discord_userid") == current.attr("discord_userid") && current.attr("discord_userid")) {
|
||||
current.addClass("collapsed");
|
||||
} else {
|
||||
current.removeClass("collapsed");
|
||||
|
Loading…
Reference in New Issue
Block a user