mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add option to select jQuery 3.x (#1835) + add description to other options in Advanced config screen
This commit is contained in:
parent
dc1182f6f5
commit
0aa4fed636
6 changed files with 35 additions and 2 deletions
|
|
@ -675,10 +675,19 @@ class HTMLDisplayHandler
|
|||
*/
|
||||
private function _loadCommonJSCSS()
|
||||
{
|
||||
if (config('view.jquery_version') === 3)
|
||||
{
|
||||
$jquery_version = self::JQUERY_V3;
|
||||
$jquery_migrate_version = self::JQUERY_V3_MIGRATE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$jquery_version = self::JQUERY_V2;
|
||||
$jquery_migrate_version = self::JQUERY_V2_MIGRATE;
|
||||
}
|
||||
|
||||
Context::loadFile(array('./common/css/rhymix.scss', '', '', -1600000000), true);
|
||||
|
||||
$jquery_version = self::JQUERY_V2;
|
||||
$jquery_migrate_version = self::JQUERY_V2_MIGRATE;
|
||||
$original_file_list = array(
|
||||
'plugins/jquery.migrate/jquery-migrate-' . $jquery_migrate_version . '.min.js',
|
||||
'plugins/cookie/js.cookie.min.js',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue