fix js load on frontend, fix #1

This commit is contained in:
Jean-Christian Paul Denis 2023-04-23 21:18:27 +02:00
parent 60e5abd9f4
commit 1b47c35974
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

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