mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Simplify assets configuration.
This commit is contained in:
1 parent
977ff01ced
commit
135bd9f7c6
3 files changed
+45
-48
No files matched your search
@@ -35,7 +35,10 @@ class ContaoAssets implements Assets
|
||||
break;
|
||||
|
||||
case static::TYPE_FILE:
|
||||
$script .= '|static';
|
||||
if (!\Config::get('debugMode')) {
|
||||
$script .= '|static';
|
||||
}
|
||||
|
||||
// no break
|
||||
|
||||
default:
|
||||
@@ -54,7 +57,9 @@ class ContaoAssets implements Assets
|
||||
break;
|
||||
|
||||
case static::TYPE_FILE:
|
||||
$stylesheet .= '|all|static';
|
||||
if (!\Config::get('debugMode')) {
|
||||
$stylesheet .= '|all|static';
|
||||
}
|
||||
// no break
|
||||
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user