Skip to content

Commit 685691b

Browse files
committed
refactor: warning message
1 parent a11eefe commit 685691b

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

vis/js/HeadstartRunner.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,12 @@ class HeadstartRunner {
8282
).includes(browserName);
8383

8484
if (!isSupportedBrowser || !browserName) {
85-
const warningMessage =
85+
alert(
8686
"You are using an unsupported browser. " +
87-
"This visualization was successfully tested " +
88-
"with the latest versions of " +
89-
`${SUPPORTED.slice(0, -1).join(", ")} and ${SUPPORTED.at(-1)}.`;
90-
91-
alert(warningMessage);
87+
"This visualization was successfully tested " +
88+
"with the latest versions of " +
89+
"Chrome, Firefox, Safari, Edge and Opera."
90+
);
9291
}
9392
}
9493

0 commit comments

Comments
 (0)