From d103c6c8c3c45cf51a63e3daaa6380b13dbb2117 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 5 Nov 2023 00:09:09 -0400 Subject: [PATCH] The OpenDream TGUI fix (#79244) Modern browsers run the ready script before the DOM is loaded. Also future proofs us for when Lummox upgrades the web engine. --------- Co-authored-by: Aleksej Komarov --- tgui/public/tgui.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tgui/public/tgui.html b/tgui/public/tgui.html index a518c5f5aac..5bd21f1b50d 100644 --- a/tgui/public/tgui.html +++ b/tgui/public/tgui.html @@ -510,9 +510,6 @@ window.replaceHtml = function (inline_html) { + "" ); }; - -// Signal tgui that we're ready to receive updates -Byond.sendMessage('ready');