Skip to content
Snippets Groups Projects
Commit b4f3c770 authored by Jonas Leder's avatar Jonas Leder
Browse files

fixed includeHTML script

parent 9380a5ac
Branches
No related tags found
No related merge requests found
Pipeline #557 passed
......@@ -3,7 +3,7 @@ let z:HTMLCollectionOf<HTMLElement> = <HTMLCollectionOf<HTMLElement>> document.g
for (let i:number = 0; i < z.length; i++) {
let element:HTMLElement = z[i];
let externalFileURL:string = <string> element.getAttribute("includeHTML");
if (externalFileURL != "") {
if (externalFileURL) {
let xhr:XMLHttpRequest = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (this.readyState == 4) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment