Skip to content

Commit 03f23f2

Browse files
authored
Merge pull request #147 from farfunni/ie11fix
loader fix for IE11 support
2 parents 987c278 + b7c9d67 commit 03f23f2

16 files changed

+33
-33
lines changed

src/basic-table.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/blank.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
83-
loader.classList.add('fadeOut');
82+
setTimeout(function() {
83+
loader.classList.add('fadeOut');
8484
}, 300);
8585
});
8686
</script>

src/buttons.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
</div>
2828

2929
<script>
30-
window.addEventListener('load', () => {
30+
window.addEventListener('load', function load() {
3131
const loader = document.getElementById('loader');
32-
setTimeout(() => {
32+
setTimeout(function() {
3333
loader.classList.add('fadeOut');
3434
}, 3000);
3535
});

src/calendar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/charts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/chat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/compose.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/datatable.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/email.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/forms.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/google-maps.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
</div>
7777

7878
<script>
79-
window.addEventListener('load', () => {
79+
window.addEventListener('load', function load() {
8080
const loader = document.getElementById('loader');
81-
setTimeout(() => {
81+
setTimeout(function() {
8282
loader.classList.add('fadeOut');
8383
}, 300);
8484
});

src/signin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
</div>
6060

6161
<script>
62-
window.addEventListener('load', () => {
62+
window.addEventListener('load', function load() {
6363
const loader = document.getElementById('loader');
64-
setTimeout(() => {
64+
setTimeout(function() {
6565
loader.classList.add('fadeOut');
6666
}, 300);
6767
});

src/signup.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
</div>
6060

6161
<script>
62-
window.addEventListener('load', () => {
62+
window.addEventListener('load', function load() {
6363
const loader = document.getElementById('loader');
64-
setTimeout(() => {
64+
setTimeout(function() {
6565
loader.classList.add('fadeOut');
6666
}, 300);
6767
});

src/ui.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

src/vector-maps.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
</div>
7878

7979
<script>
80-
window.addEventListener('load', () => {
80+
window.addEventListener('load', function load() {
8181
const loader = document.getElementById('loader');
82-
setTimeout(() => {
82+
setTimeout(function() {
8383
loader.classList.add('fadeOut');
8484
}, 300);
8585
});

0 commit comments

Comments
 (0)