mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
remove SW unregistering
This commit is contained in:
parent
37fc1c3177
commit
2e75429c0d
@ -57,15 +57,6 @@
|
|||||||
sorter();
|
sorter();
|
||||||
|
|
||||||
this.confirmAge();
|
this.confirmAge();
|
||||||
|
|
||||||
// TODO remove when adding back PWA
|
|
||||||
if (!navigator.serviceWorker) { return; }
|
|
||||||
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
|
||||||
for(let registration of registrations) {
|
|
||||||
console.log('unregistering', registration);
|
|
||||||
registration.unregister();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async confirmAge() {
|
async confirmAge() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user