REGRESSION: not caching async scripts, remove cache buster

This commit is contained in:
Sam 2015-03-13 16:55:27 +11:00
parent 6262ff457d
commit 20ab1f97e4

View File

@ -43,7 +43,7 @@ export default function loadScript(url, opts) {
if (opts.scriptTag) {
loadWithTag(cdnUrl, cb);
} else {
$.getScript(cdnUrl).then(cb);
Discourse.ajax({url: cdnUrl, dataType: "script", cache: true}).then(cb);
}
});
}