mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Group assets by client
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user