webapp work, push required for https

This commit is contained in:
Neale Pickett 2018-11-21 22:16:57 +00:00
parent 2a2159ea3a
commit 8c710e02d1
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ if (document.readyState === "loading") {
let deferredPrompt;
let installButton = document.querySelector("#install");
installButton.style.display = "none";
console.log(installButton);
window.addEventListener("beforeinstallprompt", e => {
console.log(e);
deferredPrompt = e;