This repository has been archived on 2023-12-31. You can view files and clone it, but cannot push or open issues or pull requests.
meritkollen/html/assets/js/smallScript.js
2019-11-05 20:28:56 +01:00

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);
});