From c9adf12db62e9bb36ff0ccb85ac70828cc37e9a4 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Tue, 8 Sep 2020 14:17:47 +0300 Subject: [PATCH] Fix - hide the emulator button. --- www-react/src/ts/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-react/src/ts/main.ts b/www-react/src/ts/main.ts index d6af32978..1ce582112 100644 --- a/www-react/src/ts/main.ts +++ b/www-react/src/ts/main.ts @@ -94,9 +94,9 @@ export function hideEmulatorMenu(): void { throw new Error("thankYou: document is null."); } - let hm5: HTMLElement | null = document.getElementById('hm5'); + let hm5: HTMLElement | null = document.getElementById('hm6'); if(!hm5) { - throw new Error("thankYou: hm5 is null."); + throw new Error("thankYou: hm6 is null."); } hm5.style.display="none"; }