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

fixed includeHTML script

parent 9380a5ac
No related branches found
No related tags found
Loading
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.
Finish editing this message first!
Please register or to comment