Removed old jquery $ reference

canary
WolverinDEV 2020-08-19 22:53:53 +02:00
parent c0f09e4d54
commit 90e662a9c8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ function load_template_url(url: string) : Promise<void> {
return _template_promises[url];
return (_template_promises[url] = (async () => {
const response = await $.ajax(config.baseUrl + url);
const response = await (await fetch(config.baseUrl + url)).text();
let node = document.createElement("html");
node.innerHTML = response;