diff options
Diffstat (limited to 'webAO/dom/renderPlayerList.ts')
| -rw-r--r-- | webAO/dom/renderPlayerList.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/dom/renderPlayerList.ts b/webAO/dom/renderPlayerList.ts index c238f28b..6c696acc 100644 --- a/webAO/dom/renderPlayerList.ts +++ b/webAO/dom/renderPlayerList.ts @@ -3,7 +3,7 @@ import { AO_HOST } from "../client/aoHost"; export function renderPlayerList() { const list = document.getElementById("client_playerlist") as HTMLTableElement; - list.innerHTML = ""; + list.replaceChildren(); const header = list.createTHead().insertRow(); for (const label of ["Icon", "Character", "Showname", "OOC Name"]) { |
