diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 844d013..c65ae41 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -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");