Add latest param in case we need MathJax.js to know it has been called from lastest.js in the future.
This commit is contained in:
parent
8d30a0453d
commit
513954a6d5
|
@ -119,6 +119,7 @@
|
|||
var cdn = getCDN(script);
|
||||
if (cdn) {
|
||||
var config = script.src.replace(/.*?(\?|$)/, "$1");
|
||||
config += (config ? '&' : '?') + 'latest';
|
||||
var unpacked = (script.src.match(/\/unpacked\/latest\.js/) ? "/unpacked" : "");
|
||||
var version = getVersion();
|
||||
if (version) {
|
||||
|
|
|
@ -119,6 +119,7 @@
|
|||
var cdn = getCDN(script);
|
||||
if (cdn) {
|
||||
var config = script.src.replace(/.*?(\?|$)/, "$1");
|
||||
config += (config ? '&' : '?') + 'latest';
|
||||
var unpacked = (script.src.match(/\/unpacked\/latest\.js/) ? "/unpacked" : "");
|
||||
var version = getVersion();
|
||||
if (version) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user