Fix Corp research popup box appearing behind one another.

This commit is contained in:
Olivier Gagnon
2021-08-21 02:06:48 -04:00
parent b67c03ff8a
commit 6561413137
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ export function Root(props: IProps): React.ReactElement {
const textFile = new TextFile(filename, code);
s.textFiles.push(textFile);
} else {
dialogBoxCreate("Invalid filename. Must be either a script (.script) or " +
dialogBoxCreate("Invalid filename. Must be either a script (.script, .js, or .ns) or " +
" or text file (.txt)")
return;
}