bugfix
This commit is contained in:
parent
15b840e000
commit
1bc5ca5c33
@ -6814,7 +6814,8 @@ class WordRotatorSettingFragment extends LocalStorageSettingsFragment {
|
||||
InstallManager.setCanInstallListener(() => {
|
||||
let installButton = this.findBy("#install-button");
|
||||
installButton.addEventListener("click", () => {
|
||||
InstallManager.prompt().then(() => {
|
||||
InstallManager.prompt().then((e) => {
|
||||
console.log("clicked", e);
|
||||
installButton.classList.add("hidden");
|
||||
});
|
||||
});
|
||||
|
||||
@ -64,7 +64,8 @@ export class WordRotatorSettingFragment extends LocalStorageSettingsFragment {
|
||||
InstallManager.setCanInstallListener(() => {
|
||||
let installButton = this.findBy("#install-button");
|
||||
installButton.addEventListener("click", () => {
|
||||
InstallManager.prompt().then(() => {
|
||||
InstallManager.prompt().then((e) => {
|
||||
console.log("clicked", e);
|
||||
installButton.classList.add("hidden");
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user