diff --git a/index.html b/index.html index bd5b6cb..1b35636 100644 --- a/index.html +++ b/index.html @@ -8,5 +8,9 @@ - + + + + + diff --git a/loader.js b/loader.js index dcad671..feb5a83 100644 --- a/loader.js +++ b/loader.js @@ -16,7 +16,7 @@ var Loader = { this.loader.setAttribute('id', 'loader'); this.loader.classList.add('loader_website'); this.loader.innerHTML = this.html; - this.body.append(this.loader); + this.body.appendChild(this.loader); setTimeout(function () { Loader.body.classList.add(Loader.cssClass); }, 1);