[feature] Allow to use own cdn or include jquery file
Shnoulle opened this issue · comments
Currntly : there are a call to ajax.googleapis.com for jquery. Some user disable all google call and then they can not have the working JS
2 solutions
- Add jquery (min) file in the repo
- Create a
$_CONFIG
to load another cdn (can be an user link)
I think most users would prefer to link the public javascript file. Those who want to use their own can just change the URL on line 2969. I don't think it's enough of a common case to create a separate config option.
I personally just wget
the js file, and stored it on my server and then changed the link
So basically i hid the cdn.example.com/.js
folder, and changed the path to the js file to cdn.example.com/.js/jquery.min.js
I update too the url : i's easy :). But maybe it can be easiest to have a $_CONFIG
then ?