changed index js load order

Before, the server options were loaded first, meaning other js functions couldnt execute until the discord api call was completed, now this is done last.
This commit is contained in:
Corban-Lee Jones 2024-04-28 15:40:35 +01:00
parent 14167e05be
commit cba99c17f3

View File

@ -1,7 +1,6 @@
$(document).ready(async function() {
await loadServerOptions();
await loadSavedGuilds();
initSubscriptionTable();
// loadSubscriptions(); // TODO
await loadSavedGuilds();
await loadServerOptions();
});