Skip to content

Commit

Permalink
HMW-663 Fixed issue of close button, for unsupported browser message,…
Browse files Browse the repository at this point in the history
… not working.
  • Loading branch information
cschwinderg committed Jan 17, 2024
1 parent 22ef96e commit 6ded43e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions app/client/public/index.html
Original file line number Diff line number Diff line change
@@ -395,11 +395,6 @@
);

if (unsupportedMessage) {
// Allows the user to close the unsupported message.
function hideUnsupportedMessage() {
unsupportedMessage.style.display = 'none';
}

// If fetch is supported, hide the unsupported browser message until
// we can get the supported browsers lookup file.
if ('fetch' in window) {
@@ -499,6 +494,14 @@
}
}

// Allows the user to close the unsupported message.
function hideUnsupportedMessage() {
const unsupportedMessage = document.getElementById(
'unsupported-browser-message',
);
unsupportedMessage.style.display = 'none';
}

unsupportedBrowserMessage();
</script>

0 comments on commit 6ded43e

Please sign in to comment.