mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Defer header javascripts to footer when js/css caching is enabled.
This commit is contained in:
@@ -802,7 +802,7 @@ class e_jsmanager
|
||||
return null;
|
||||
}
|
||||
|
||||
$text = '';
|
||||
$text = "\n\n<!-- [JSManager] Links -->\n";
|
||||
|
||||
foreach($this->_e_link as $v)
|
||||
{
|
||||
@@ -1590,7 +1590,7 @@ class e_jsmanager
|
||||
|
||||
}
|
||||
|
||||
echo "\n\n<!-- Cached ".$type." -->\n";
|
||||
echo "\n\n<!-- [JSManager] Cached ".strtoupper($type)." -->\n";
|
||||
|
||||
if($type == 'js')
|
||||
{
|
||||
|
Reference in New Issue
Block a user