diff --git a/src/install-button.ts b/src/install-button.ts index 595e713..ef7ca21 100644 --- a/src/install-button.ts +++ b/src/install-button.ts @@ -84,9 +84,9 @@ export class InstallButton extends HTMLElement { if (!InstallButton.isSupported || !InstallButton.isAllowed) { this.toggleAttribute("install-unsupported", true); - this.renderRoot.innerHTML = !InstallButton.isSupported - ? "Your browser does not support installing things on ESP devices. Use Google Chrome or Microsoft Edge." - : "You can only install ESP devices on HTTPS websites or on the localhost."; + this.renderRoot.innerHTML = !InstallButton.isAllowed + ? "You can only install ESP devices on HTTPS websites or on the localhost." + : "Your browser does not support installing things on ESP devices. Use Google Chrome or Microsoft Edge."; return; }