mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Don't show unread marker for date marker.
This commit is contained in:
parent
bcbd29cd22
commit
979d992bd1
1 changed files with 3 additions and 1 deletions
|
@ -444,7 +444,9 @@ $(function() {
|
|||
]);
|
||||
|
||||
if (data.msg.self
|
||||
|| container.find("div:visible").last().hasClass("unread-marker")) {
|
||||
|| container.find("div:visible").last().hasClass("unread-marker")
|
||||
|| (container.find("div:visible").last().hasClass("date-marker")
|
||||
&& container.find("div:visible").last().prev().hasClass("unread-marker"))) {
|
||||
container
|
||||
.find(".unread-marker")
|
||||
.appendTo(container);
|
||||
|
|
Loading…
Reference in a new issue