mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-25 20:03:21 -07:00
WebHost: Fix NamedRange option dropdown being blank instead of custom when applying presets (#4063)
This commit is contained in:
@@ -288,6 +288,11 @@ const applyPresets = (presetName) => {
|
||||
}
|
||||
});
|
||||
namedRangeSelect.value = trueValue;
|
||||
// It is also possible for a preset to use an unnamed value. If this happens, set the dropdown to "Custom"
|
||||
if (namedRangeSelect.selectedIndex == -1)
|
||||
{
|
||||
namedRangeSelect.value = "custom";
|
||||
}
|
||||
}
|
||||
|
||||
// Handle options whose presets are "random"
|
||||
|
||||
Reference in New Issue
Block a user