mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
REGRESSION: not caching async scripts, remove cache buster
This commit is contained in:
parent
6262ff457d
commit
20ab1f97e4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue