diff --git a/src/Frontend.php b/src/Frontend.php index 90cee31..ed185af 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -35,7 +35,7 @@ class Frontend extends dcNsProcess dcCore::app()->addBehaviors([ 'initWidgets' => [Widgets::class, 'initWidgets'], - 'publicHeadContent', function (): void { + 'publicHeadContent' => function (): void { echo dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') . dcUtils::cssModuleLoad(My::id() . '/css/frontend.css');