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/src/js/smallScript.js

10 lines
229 B
JavaScript
Raw Normal View History

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