fix js load on frontend, fix #1

This commit is contained in:
Jean-Christian 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([ dcCore::app()->addBehaviors([
'initWidgets' => [Widgets::class, 'initWidgets'], 'initWidgets' => [Widgets::class, 'initWidgets'],
'publicHeadContent', function (): void { 'publicHeadContent' => function (): void {
echo echo
dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') . dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') .
dcUtils::cssModuleLoad(My::id() . '/css/frontend.css'); dcUtils::cssModuleLoad(My::id() . '/css/frontend.css');