diff options
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index e7d607b..e6647c1 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2184,10 +2184,11 @@ function decodeBBCode(estring) { let client = new Client(serverIP); let viewport = new Viewport(); -$(document).ready(function () { +export function onLoad(){ client.initialObservBBCode(); client.loadResources(); -}); +} +window.onLoad = onLoad; // Create dialog and link to button $(function () { |
