diff --git a/module/helpers/detailsExpanded.mjs b/module/helpers/detailsExpanded.mjs index bf9ddef..0a277aa 100644 --- a/module/helpers/detailsExpanded.mjs +++ b/module/helpers/detailsExpanded.mjs @@ -7,5 +7,8 @@ * @returns {"open"|null} The HTML insertion indicating the details is expanded */ export function detailsExpanded(expanded, collapseId) { - return expanded.has(collapseId) ? "open" : null; + if (expanded.has(collapseId)) { + return `open`; + } + return ``; }; \ No newline at end of file