From 67efb6efa09c3f3b75eda94f1b07ce083190e720 Mon Sep 17 00:00:00 2001 From: "vincent.tisseyre" Date: Tue, 12 Nov 2024 10:57:37 +0100 Subject: [PATCH] fix : add '/' to the global.css relative path --- com_leaflet/site/src/View/Leaflet/HtmlView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com_leaflet/site/src/View/Leaflet/HtmlView.php b/com_leaflet/site/src/View/Leaflet/HtmlView.php index 40c8aec..ab90643 100644 --- a/com_leaflet/site/src/View/Leaflet/HtmlView.php +++ b/com_leaflet/site/src/View/Leaflet/HtmlView.php @@ -31,6 +31,6 @@ class HtmlView extends BaseHtmlView { { // Import CSS $document = Factory::getDocument(); - $document->addStyleSheet('components/com_leaflet/assets/css/global.css'); + $document->addStyleSheet('/components/com_leaflet/assets/css/global.css'); } } \ No newline at end of file