bug von Chrome berücksichtigen
This commit is contained in:
parent
1bc5ca5c33
commit
93a075c239
@ -64,9 +64,9 @@ export class WordRotatorSettingFragment extends LocalStorageSettingsFragment {
|
|||||||
InstallManager.setCanInstallListener(() => {
|
InstallManager.setCanInstallListener(() => {
|
||||||
let installButton = this.findBy("#install-button");
|
let installButton = this.findBy("#install-button");
|
||||||
installButton.addEventListener("click", () => {
|
installButton.addEventListener("click", () => {
|
||||||
|
installButton.classList.add("hidden");
|
||||||
InstallManager.prompt().then((e) => {
|
InstallManager.prompt().then((e) => {
|
||||||
console.log("clicked", e);
|
console.log("clicked", e);
|
||||||
installButton.classList.add("hidden");
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
installButton.classList.remove("hidden");
|
installButton.classList.remove("hidden");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user