mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +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++) {
|
for (var i = 1; i < allMessages.length; i++) {
|
||||||
var last = $(allMessages[i - 1]);
|
var last = $(allMessages[i - 1]);
|
||||||
var current = $(allMessages[i]);
|
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");
|
current.addClass("collapsed");
|
||||||
} else {
|
} else {
|
||||||
current.removeClass("collapsed");
|
current.removeClass("collapsed");
|
||||||
|
Loading…
Reference in New Issue
Block a user