aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/createArea.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/createArea.ts')
-rw-r--r--webAO/client/createArea.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/createArea.ts b/webAO/client/createArea.ts
index 9a40bef4..a90b49ad 100644
--- a/webAO/client/createArea.ts
+++ b/webAO/client/createArea.ts
@@ -18,7 +18,7 @@ export const createArea = (id: number, aname: string) => {
const newarea = document.createElement("SPAN");
newarea.className = "area-button area-default";
newarea.id = `area${id}`;
- newarea.innerText = thisarea.name;
+ newarea.textContent = thisarea.name;
newarea.title =
`Players: ${thisarea.players}\n` +
`Status: ${thisarea.status}\n` +