mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
Group assets by client
This commit is contained in:
@@ -17,7 +17,7 @@ export default function addStickyControl() {
|
|||||||
if (startPost) {
|
if (startPost) {
|
||||||
const excerpt = <span>{truncate(startPost.contentPlain(), 200)}</span>;
|
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)
|
public function addAssets(BuildClientView $event)
|
||||||
{
|
{
|
||||||
$event->forumAssets([
|
$event->forumAssets([
|
||||||
__DIR__.'/../../js/dist/extension.js',
|
__DIR__.'/../../js/forum/dist/extension.js',
|
||||||
__DIR__.'/../../less/extension.less'
|
__DIR__.'/../../less/forum/extension.less'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$event->forumBootstrapper('sticky/main');
|
$event->forumBootstrapper('sticky/main');
|
||||||
|
Reference in New Issue
Block a user