mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
Refactor settings.js: Update variable and comment names in manageMods function
This commit is contained in:
parent
2f0a054bfe
commit
0770d652c2
@ -709,11 +709,11 @@ document.getElementById('settingsGameHeight').addEventListener('keydown', (e) =>
|
|||||||
const settingsModsContainer = document.getElementById('settingsModsContainer')
|
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:
|
* The function performs the following:
|
||||||
* - If `athShield.type` is 'hidden': hides the Mods button entirely.
|
* - If `extraFileVerif.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 '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.
|
* - Otherwise: shows and enables all components (Mods button and buttons within the Mods tab) normally.
|
||||||
*
|
*
|
||||||
* @return {void}
|
* @return {void}
|
||||||
|
Loading…
Reference in New Issue
Block a user