Removed old jquery $ reference
This commit is contained in:
parent
b8fbd58276
commit
a0fccae480
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function load_template_url(url: string) : Promise<void> {
|
||||||
return _template_promises[url];
|
return _template_promises[url];
|
||||||
|
|
||||||
return (_template_promises[url] = (async () => {
|
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");
|
let node = document.createElement("html");
|
||||||
node.innerHTML = response;
|
node.innerHTML = response;
|
||||||
|
|
Loading…
Add table
Reference in a new issue