mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Library preloading tweak.
This commit is contained in:
@@ -726,9 +726,10 @@ class core_library
|
|||||||
'as' => 'font',
|
'as' => 'font',
|
||||||
'type' => 'font/woff2',
|
'type' => 'font/woff2',
|
||||||
'path' => 'fonts/fontawesome-webfont.woff2?v=4.7.0',
|
'path' => 'fonts/fontawesome-webfont.woff2?v=4.7.0',
|
||||||
'crossorigin' => false,
|
'crossorigin' => true,
|
||||||
'browsercache' => false,
|
'browsercache' => false,
|
||||||
),
|
),
|
||||||
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ if(e_ADMIN_AREA !==true)
|
|||||||
{
|
{
|
||||||
|
|
||||||
e107::css('social', 'css/fontello.css');
|
e107::css('social', 'css/fontello.css');
|
||||||
e107::link(array('rel'=>'preload', 'href'=> e_PLUGIN_ABS."social/font/fontello.woff2", 'as' => "font", 'type'=>"font/woff2"), true);
|
e107::link(array('rel'=>'preload', 'href'=> e_PLUGIN_ABS."social/font/fontello.woff2?21917124", 'as' => "font", 'type'=>"font/woff2", 'crossorigin' => true));
|
||||||
e107::css('social' ,'css/social.css');
|
e107::css('social' ,'css/social.css');
|
||||||
|
|
||||||
$appID = false;
|
$appID = false;
|
||||||
|
Reference in New Issue
Block a user