1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Make some changes to facilitate updates to mentions extension

This commit is contained in:
Toby Zerner
2015-08-06 13:16:53 +09:30
parent fa5c7cb123
commit edddeeb553
3 changed files with 3 additions and 2 deletions

View File

@@ -211,6 +211,7 @@ class PostStream extends mixin(Component, evented) {
attrs.config = fadeIn;
attrs['data-time'] = time.toISOString();
attrs['data-number'] = post.number();
attrs['data-id'] = post.id();
// If the post before this one was more than 4 hours ago, we will
// display a 'time gap' indicating how long it has been in between