From 87a9c3992e1c3f52bb6320577a24790fcae8d6e0 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 26 Jul 2019 13:44:32 +0200 Subject: begone, jquery that never fired --- webAO/client.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webAO/client.js') 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 () { -- cgit