aboutsummaryrefslogtreecommitdiff
path: root/webAO/ui.js
diff options
context:
space:
mode:
authorstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-10-26 16:18:53 +0100
committerstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-10-26 16:18:53 +0100
commita9c9bfe4f0e5aeb264000041a7d384f5072fc658 (patch)
treea35614a5fe2f0d92cef3fec573efed721e437999 /webAO/ui.js
parentc65db9f76c40ad4a73db83a12690ece68c4267b4 (diff)
prevent essential windows from being closed
Diffstat (limited to 'webAO/ui.js')
-rw-r--r--webAO/ui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/webAO/ui.js b/webAO/ui.js
index b44b425..7bd7ab6 100644
--- a/webAO/ui.js
+++ b/webAO/ui.js
@@ -18,6 +18,7 @@ const config = {
width: 40,
content: [{
type: "component",
+ isClosable: false,
componentName: "template",
title: "Game",
componentState: { id: "client_wrapper" }
@@ -32,12 +33,14 @@ const config = {
type: "stack",
content: [{
type: "component",
+ isClosable: false,
title: "Main",
componentName: "template",
componentState: { id: "mainmenu" }
},
{
type: "component",
+ isClosable: false,
title: "Log",
componentName: "template",
componentState: { id: "log" }