mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Removed a lot of malformed encoded things
This commit is contained in:
@@ -60,11 +60,13 @@ var connection_options = {
|
||||
var fromFront = false;
|
||||
var fromChannel = false;
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.getRegistration().then(function(r) {
|
||||
r.unregister();
|
||||
});
|
||||
};
|
||||
try {
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.getRegistration().then(function(r) {
|
||||
r.unregister();
|
||||
});
|
||||
};
|
||||
} catch(e){}
|
||||
|
||||
$().ready(function(){
|
||||
if(!fromFront && window.location.pathname != "/") init();
|
||||
|
||||
Reference in New Issue
Block a user