mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-12 10:42:21 +02:00
Correctly append date marker when receiving a message
This commit is contained in:
parent
152da11256
commit
110c0f0c87
|
@ -432,7 +432,7 @@ $(function() {
|
|||
}
|
||||
|
||||
if (prevMsgTime.toDateString() !== msgTime.toDateString()) {
|
||||
prevMsg.append(templates.date_marker({msgDate: msgTime}));
|
||||
prevMsg.after(templates.date_marker({msgDate: msgTime}));
|
||||
}
|
||||
|
||||
// Add message to the container
|
||||
|
|
Loading…
Reference in a new issue