mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Deffer CSS loading
This commit is contained in:
parent
ed59a412f4
commit
d90da8e66f
@ -134,7 +134,7 @@ class DeferredRequirements implements TemplateGlobalProvider
|
|||||||
|
|
||||||
public static function loadCSS($css): void
|
public static function loadCSS($css): void
|
||||||
{
|
{
|
||||||
$external = (mb_strpos($css, '//') === 0 || mb_strpos($css, 'http') === 0);
|
//$external = (mb_strpos($css, '//') === 0 || mb_strpos($css, 'http') === 0);
|
||||||
if (self::getDeferred() && !self::webpackActive()) {
|
if (self::getDeferred() && !self::webpackActive()) {
|
||||||
self::$css[] = $css;
|
self::$css[] = $css;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user