From f0321e1f6d217d508d7e7b0d62d783ea2ea3128d Mon Sep 17 00:00:00 2001 From: Sandro642 Date: Sat, 26 Oct 2024 17:46:24 +0200 Subject: [PATCH] Reorder function calls in prepareModsTab. Moved the manageModCategory function call to the end within prepareModsTab. This ensures that category management happens after resolving the UI elements, maintaining the logical sequence of operations. --- app/assets/js/scripts/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index 96d956f9..599c45a6 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -1154,10 +1154,10 @@ function animateSettingsTabRefresh(){ * Prepare the Mods tab for display. */ async function prepareModsTab(first){ - manageModCategory() await resolveModsForUI() await resolveDropinModsForUI() await resolveShaderpacksForUI() + manageModCategory() bindDropinModsRemoveButton() bindDropinModFileSystemButton() bindShaderpackButton()