Removed old jquery $ reference
parent
c0f09e4d54
commit
90e662a9c8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue