Disabled serviceworker fully

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-27 00:42:52 +02:00
parent 3291cf3d7a
commit 3a91c50796
3 changed files with 3 additions and 15 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -54,18 +54,6 @@ var connection_options = {
'force new connection': true 'force new connection': true
}; };
if (navigator.serviceWorker) {
navigator.serviceWorker.register('/service-worker.js')
.then(function (registration) {
console.log(registration);
})
.catch(function (e) {
console.error(e);
})
} else {
console.log('Service Worker is not supported in this browser.');
}
$().ready(function(){ $().ready(function(){
if(!window.fromFront && window.location.pathname != "/") init(); if(!window.fromFront && window.location.pathname != "/") init();
}); });