diff --git a/index.html b/index.html index f6ea6589..a221df2a 100644 --- a/index.html +++ b/index.html @@ -7863,7 +7863,7 @@ - + diff --git a/main.js b/main.js index 6fd3ceef..5bff8d9a 100644 --- a/main.js +++ b/main.js @@ -29,7 +29,7 @@ if (PRODUCTION && "serviceWorker" in navigator) { "beforeinstallprompt", async event => { event.preventDefault(); - const Installation = await import("./modules/dynamic/installation.js"); + const Installation = await import("./modules/dynamic/installation.js?v=1.89.19"); Installation.init(event); }, {once: true} diff --git a/modules/dynamic/installation.js b/modules/dynamic/installation.js index a9f2f789..8ccb6c16 100644 --- a/modules/dynamic/installation.js +++ b/modules/dynamic/installation.js @@ -28,7 +28,7 @@ function createButton() { button.innerHTML = "Install"; button.onclick = openDialog; button.onmouseenter = () => tip("Install the Application"); - document.querySelector("body").appendChild(button); + document.getElementById("optionsContainer").appendChild(button); return button; }