mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[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 <stylemistake@ gmail.com> * The OpenDream TGUI fix --------- Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
This commit is contained in:
co-authored by
Aleksej Komarov
Jordan Dominion
parent
c01d1c5a9e
commit
aa2397e986
@@ -510,9 +510,6 @@ window.replaceHtml = function (inline_html) {
|
||||
+ "<!-- tgui:inline-html-end -->"
|
||||
);
|
||||
};
|
||||
|
||||
// Signal tgui that we're ready to receive updates
|
||||
Byond.sendMessage('ready');
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@@ -657,5 +654,10 @@ Thank you for your cooperation.
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<script>
|
||||
// Signal tgui that we're ready to receive updates
|
||||
Byond.sendMessage('ready');
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user