mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] isort, prettier, black: JS lint in all affect modules
This commit is contained in:
@@ -21,7 +21,8 @@ odoo.define("web_pwa_oca.PWAManager", function (require) {
|
|||||||
"Service workers are not supported! Maybe you are not using HTTPS or you work in private mode."
|
"Service workers are not supported! Maybe you are not using HTTPS or you work in private mode."
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else {
|
}
|
||||||
|
if ("serviceWorker" in navigator) {
|
||||||
this._service_worker = navigator.serviceWorker;
|
this._service_worker = navigator.serviceWorker;
|
||||||
this.registerServiceWorker("/service-worker.js");
|
this.registerServiceWorker("/service-worker.js");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user