Working on the spells panel, which resulted in a lot of weird structural changes that aren't *really* functional yet

This commit is contained in:
Oliver-Akins 2024-01-07 22:27:26 -07:00
parent 227029ffcd
commit dfc51a5899
31 changed files with 499 additions and 84 deletions

View file

@ -7,5 +7,6 @@
* @returns {"open"|null} The HTML insertion indicating the details is expanded
*/
export function detailsExpanded(expanded, collapseId) {
console.log(`.dungeon |`, collapseId, expanded)
return expanded.has(collapseId) ? "open" : null;
};