Merge pull request #1002 from thelounge/xpaw/append-date-marker
Correctly append date marker when receiving a message
This commit is contained in:
commit
44f71bb93e
@ -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 New Issue
Block a user