diff --git a/extensions/likes/bootstrap.php b/extensions/likes/bootstrap.php index 20f4fd924..df97e22dd 100644 --- a/extensions/likes/bootstrap.php +++ b/extensions/likes/bootstrap.php @@ -14,11 +14,11 @@ use Flarum\Likes\Listener; use Illuminate\Contracts\Events\Dispatcher; 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'), - (new Extend\Assets('admin')) + (new Extend\Frontend('admin')) ->js(__DIR__.'/js/dist/admin.js'), function (Dispatcher $events) {