From aa2397e9869f17b92f4eef3c4782bdc66ebb7bcc Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 5 Nov 2023 06:25:42 +0100 Subject: [PATCH] [MIRROR] The OpenDream TGUI fix [MDB IGNORE] (#24795) * 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 * The OpenDream TGUI fix --------- Co-authored-by: Jordan Dominion 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');