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

Fixes #4747 - wysiwyg editor value retention.

This commit is contained in:
Cameron
2022-04-05 09:56:25 -07:00
parent 248a98fffc
commit 45372f285c
3 changed files with 27 additions and 20 deletions

View File

@@ -239,18 +239,9 @@ class e_jsmanager
}
else // Front-End.
{
if(defset('e_DEBUG_JQUERY') === 2)
{
e107::library('load', 'jquery');
// jQuery Once is used in e107.behaviors.
e107::library('load', 'jquery.once');
}
else
{
e107::library('load', 'jquery3');
}
$jqueryLib = (defset('e_DEBUG_JQUERY') === 2) ? 'jquery' : 'jquery3';
e107::library('load',$jqueryLib);
e107::library('load', 'jquery.once'); // jQuery Once is used in e107.behaviors.
}
// TODO