mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMPR: Speed up fontawesome
This commit is contained in:
parent
4d8ab97973
commit
6e4b32b340
@ -86,7 +86,7 @@ class DeferredRequirements implements TemplateGlobalProvider
|
|||||||
? Config::inst()->get(FontAwesomeField::class, 'version')
|
? Config::inst()->get(FontAwesomeField::class, 'version')
|
||||||
: $config['fontawesome_version'];
|
: $config['fontawesome_version'];
|
||||||
|
|
||||||
self::loadCSS('//use.fontawesome.com/releases/v'.$v.'/css/all.css');
|
self::loadJS('//use.fontawesome.com/releases/v'.$v.'/js/all.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
self::loadCSS($mainTheme.'.css');
|
self::loadCSS($mainTheme.'.css');
|
||||||
|
Loading…
Reference in New Issue
Block a user