#4258 avantaj-çelik rendering in design

This commit is contained in:
Diatrex 2021-06-28 11:55:08 +03:00
parent e6d6444911
commit 3bc1744c9b

View File

@ -1,11 +1,10 @@
(function (window, document) { /* Offline */
/* Offline */ window.addEventListener('offline', () => {
window.addEventListener('offline', () => {
$('body > *').hide(); $('body > *').hide();
$('#offline').show(); $('#offline').show();
}); });
$('#offline button').click(function () { $('#offline button').click(function () {
$('.spinner-border', this).css('display', 'inline-block') $('.spinner-border', this).css('display', 'inline-block')
setTimeout(() => { setTimeout(() => {
@ -15,6 +14,5 @@
$('.spinner-border', this).hide() $('.spinner-border', this).hide()
} }
}, 250) }, 250)
}) })
/* End Offline */ /* End Offline */
})(window, document);