1
0
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:
Cameron
2020-12-02 13:17:23 -08:00
parent 594c6043db
commit c9bc789b79
5 changed files with 72 additions and 4 deletions

View File

@@ -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;