1
0
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:
Toby Zerner
2015-07-22 10:14:20 +09:30
parent 7fdb79fc89
commit 115551c9ce
10 changed files with 3 additions and 3 deletions

View File

@@ -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);
} }
} }
}); });

View File

@@ -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');