Compare commits

..

1 Commits

Author SHA1 Message Date
Sandro Soria
19f2fad1dc
Merge d4437c7e38 into 03dac9ed6d 2024-10-28 08:28:17 +00:00

View File

@ -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 `extraFileVerif`.
* Manages the display and interaction state of the Mods tab and its buttons based on the type of `athShield`.
*
* The function performs the following:
* - 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.
* - 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.
* - Otherwise: shows and enables all components (Mods button and buttons within the Mods tab) normally.
*
* @return {void}