bugfix
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user