mirror of
https://github.com/flarum/framework.git
synced 2025-06-20 17:21:21 +08:00
Fix sticky discussion excerpt (#20)
This commit is contained in:
@ -17,7 +17,7 @@ export default function addStickyControl() {
|
|||||||
if (firstPost) {
|
if (firstPost) {
|
||||||
const excerpt = truncate(firstPost.contentPlain(), 175);
|
const excerpt = truncate(firstPost.contentPlain(), 175);
|
||||||
|
|
||||||
items.add('excerpt', excerpt, -100);
|
items.add('excerpt', m.trust(excerpt), -100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user