fix missing baseURLs on remote script loads
This commit is contained in:
parent
1882a94e65
commit
5edea74333
@ -437,10 +437,10 @@ var contented = (function() {
|
|||||||
// Load scripts
|
// Load scripts
|
||||||
var needScripts = [];
|
var needScripts = [];
|
||||||
if (typeof jQuery === "undefined") {
|
if (typeof jQuery === "undefined") {
|
||||||
needScripts.push("jquery-1.12.4.min.js");
|
needScripts.push(contented.baseURL + "jquery-1.12.4.min.js");
|
||||||
}
|
}
|
||||||
if (typeof DrawingBoard === "undefined") {
|
if (typeof DrawingBoard === "undefined") {
|
||||||
needScripts.push("drawingboard-0.4.6.min.js");
|
needScripts.push(contented.baseURL + "drawingboard-0.4.6.min.js");
|
||||||
}
|
}
|
||||||
|
|
||||||
loadScripts(needScripts, afterScriptsLoaded);
|
loadScripts(needScripts, afterScriptsLoaded);
|
||||||
|
Loading…
Reference in New Issue
Block a user