webapp work, push required for https
This commit is contained in:
parent
2a2159ea3a
commit
8c710e02d1
|
@ -65,6 +65,7 @@ if (document.readyState === "loading") {
|
||||||
let deferredPrompt;
|
let deferredPrompt;
|
||||||
let installButton = document.querySelector("#install");
|
let installButton = document.querySelector("#install");
|
||||||
installButton.style.display = "none";
|
installButton.style.display = "none";
|
||||||
|
console.log(installButton);
|
||||||
window.addEventListener("beforeinstallprompt", e => {
|
window.addEventListener("beforeinstallprompt", e => {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
deferredPrompt = e;
|
deferredPrompt = e;
|
||||||
|
|
Loading…
Reference in New Issue