1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Issue #2745 - Move JS files to footer. (Tested with and without JS/CSS caching)

This commit is contained in:
Lóna Lore
2017-07-25 19:20:11 +02:00
parent a40be42092
commit e7f2844481
4 changed files with 30 additions and 51 deletions

View File

@@ -814,7 +814,8 @@ class e_parse_shortcode
if(isset($this->editableCodes['perms']) && getperms($this->editableCodes['perms']))
{
e107::js('core', 'jquery.contenteditable.js', 'jquery');
// TODO use Library Manager...
e107::js('footer', '{e_WEB}js/jquery.contenteditable.js', 'jquery', 2);
$_SESSION['editable'][e_TOKEN] = $this->editableCodes;