diff --git a/extensions/mentions/bootstrap.php b/extensions/mentions/bootstrap.php index b20093c4e..2fa11a6a9 100644 --- a/extensions/mentions/bootstrap.php +++ b/extensions/mentions/bootstrap.php @@ -15,9 +15,9 @@ use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\View\Factory; return [ - (new Extend\Assets('forum')) + (new Extend\Frontend('forum')) ->js(__DIR__.'/js/dist/forum.js') - ->asset(__DIR__.'/less/forum.less'), + ->css(__DIR__.'/less/forum.less'), function (Dispatcher $events, Factory $views) { $events->subscribe(Listener\AddPostMentionedByRelationship::class);