fix missing baseURLs on remote script loads

This commit is contained in:
mappu 2017-10-15 20:49:07 +13:00
parent 1882a94e65
commit 5edea74333

View File

@ -437,10 +437,10 @@ var contented = (function() {
// Load scripts
var needScripts = [];
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") {
needScripts.push("drawingboard-0.4.6.min.js");
needScripts.push(contented.baseURL + "drawingboard-0.4.6.min.js");
}
loadScripts(needScripts, afterScriptsLoaded);