mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
ENH Move jQuery include away from CDN (#1019)
- Move jQuery include away from CDN
This commit is contained in:
parent
ead1827aa1
commit
e7f51d227a
2
client/thirdparty/jquery-3.4.1.min.js
vendored
Normal file
2
client/thirdparty/jquery-3.4.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -65,7 +65,7 @@ class UserDefinedFormController extends PageController
|
||||
|
||||
// load the jquery
|
||||
if (!$page->config()->get('block_default_userforms_js')) {
|
||||
Requirements::javascript('//code.jquery.com/jquery-3.4.1.min.js');
|
||||
Requirements::javascript('silverstripe/userforms:client/thirdparty/jquery-3.4.1.min.js');
|
||||
Requirements::javascript(
|
||||
'silverstripe/userforms:client/thirdparty/jquery-validate/jquery.validate.min.js'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user