From 0770d652c2c60a172fc5cbeaec51e7815cad6b0a Mon Sep 17 00:00:00 2001 From: Sandro642 Date: Tue, 29 Oct 2024 11:21:05 +0100 Subject: [PATCH] Refactor settings.js: Update variable and comment names in manageMods function --- app/assets/js/scripts/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index d14f71e6..c29bb3ad 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -709,11 +709,11 @@ document.getElementById('settingsGameHeight').addEventListener('keydown', (e) => const settingsModsContainer = document.getElementById('settingsModsContainer') /** - * Manages the display and interaction state of the Mods tab and its buttons based on the type of `athShield`. + * Manages the display and interaction state of the Mods tab and its buttons based on the type of `extraFileVerif`. * * The function performs the following: - * - If `athShield.type` is 'hidden': hides the Mods button entirely. - * - If `athShield.type` is 'blocked': shows the Mods button, displays the Mods tab, and disables all buttons within the Mods tab. + * - If `extraFileVerif.type` is 'hidden': hides the Mods button entirely. + * - If `extraFileVerif.type` is 'blocked': shows the Mods button, displays the Mods tab, and disables all buttons within the Mods tab. * - Otherwise: shows and enables all components (Mods button and buttons within the Mods tab) normally. * * @return {void}