Skip to content

Commit

Permalink
Merge pull request #147 from farfunni/ie11fix
Browse files Browse the repository at this point in the history
loader fix for IE11 support
  • Loading branch information
puikinsh authored Mar 12, 2019
2 parents 987c278 + b7c9d67 commit 03f23f2
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions src/basic-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
6 changes: 3 additions & 3 deletions src/blank.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
loader.classList.add('fadeOut');
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
</script>
Expand Down
4 changes: 2 additions & 2 deletions src/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 3000);
});
Expand Down
4 changes: 2 additions & 2 deletions src/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/charts.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/compose.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/datatable.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/google-maps.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/signin.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down
4 changes: 2 additions & 2 deletions src/vector-maps.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
</div>

<script>
window.addEventListener('load', () => {
window.addEventListener('load', function load() {
const loader = document.getElementById('loader');
setTimeout(() => {
setTimeout(function() {
loader.classList.add('fadeOut');
}, 300);
});
Expand Down

0 comments on commit 03f23f2

Please sign in to comment.