From d6e72199553e38c4435b5625b1f7af9f71ae0754 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sat, 10 Sep 2022 17:11:45 +0200 Subject: Do nothing when button clicked mid-action --- src-ui/src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src-ui/src') diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts index 080c2e0a..46d3b9de 100644 --- a/src-ui/src/main.ts +++ b/src-ui/src/main.ts @@ -141,6 +141,11 @@ document.addEventListener("DOMContentLoaded", async function () { get_northstar_version_number_and_set_button_accordingly(omniButtonEl); break; + // Do nothing when clicked during install/update + case button_in_update_string: + case button_in_install_string: + break; + // Fallback default: alert(`Not implemented yet: ${omniButtonEl.textContent}`); -- cgit v1.2.3