mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Added an option for pre-loading of library assets. More info: https://web.dev/uses-rel-preload/
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
if(e_ADMIN_AREA !==true)
|
||||
{
|
||||
|
||||
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::css('social' ,'css/social.css');
|
||||
|
||||
$appID = false;
|
||||
|
Reference in New Issue
Block a user