mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
Group assets by client
This commit is contained in:
parent
7fdb79fc89
commit
115551c9ce
|
@ -17,7 +17,7 @@ export default function addStickyControl() {
|
|||
if (startPost) {
|
||||
const excerpt = <span>{truncate(startPost.contentPlain(), 200)}</span>;
|
||||
|
||||
items.add('excerpt', excerpt, 100);
|
||||
items.add('excerpt', excerpt, -100);
|
||||
}
|
||||
}
|
||||
});
|
|
@ -20,8 +20,8 @@ class AddClientAssets
|
|||
public function addAssets(BuildClientView $event)
|
||||
{
|
||||
$event->forumAssets([
|
||||
__DIR__.'/../../js/dist/extension.js',
|
||||
__DIR__.'/../../less/extension.less'
|
||||
__DIR__.'/../../js/forum/dist/extension.js',
|
||||
__DIR__.'/../../less/forum/extension.less'
|
||||
]);
|
||||
|
||||
$event->forumBootstrapper('sticky/main');
|
||||
|
|
Loading…
Reference in New Issue
Block a user