10 lines
229 B
JavaScript
10 lines
229 B
JavaScript
|
if('serviceWorker' in navigator) {
|
||
|
window.addEventListener('load', function() {
|
||
|
navigator.serviceWorker.register('/sw.js');
|
||
|
});
|
||
|
}
|
||
|
|
||
|
window.addEventListener('load', function() {
|
||
|
$(".lateLoader").prop('disabled', false);
|
||
|
});
|