From 4aef8764a88c4b1af8d635c22ac357370d97a3de Mon Sep 17 00:00:00 2001 From: "Mark Aherne (Faerdan)" Date: Wed, 8 Jan 2014 12:42:20 +0000 Subject: [PATCH] NanoUI fix. * Moved the receiveUpdateData JavaScript into the head so that it's loaded first. This is to prevent an error which occurs if an update is recieved from the server before the UI is fully loaded. --- code/modules/nano/nanoui.dm | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/code/modules/nano/nanoui.dm b/code/modules/nano/nanoui.dm index e7cf5d3b201..12cb30ed779 100644 --- a/code/modules/nano/nanoui.dm +++ b/code/modules/nano/nanoui.dm @@ -285,32 +285,20 @@ nanoui is used to open and update nano browser uis - [head_content] - - + [head_content] + +
[title ? "
[title]
" : ""]