From b9335e88555428afc95bf0033a7c548032f51f31 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 355213ecf74..1a3257ed24b 100644 --- a/code/modules/nano/nanoui.dm +++ b/code/modules/nano/nanoui.dm @@ -283,32 +283,20 @@ nanoui is used to open and update nano browser uis - [head_content] - - + [head_content] + +
[title ? "
[title]
" : ""]