diff --git a/code/html/src/settings.mjs b/code/html/src/settings.mjs index 282496bf..4352bf5a 100644 --- a/code/html/src/settings.mjs +++ b/code/html/src/settings.mjs @@ -695,12 +695,12 @@ export function setSpanValue(span, value) { } let content = ""; - if (span.attributes.pre) { - content += span.attributes.pre.value; + if (span.dataset["pre"]) { + content += span.dataset["pre"]; } content += value; - if (span.attributes.post) { - content += span.attributes.post.value; + if (span.dataset["post"]) { + content += span.dataset["post"]; } span.textContent = content; } diff --git a/code/html/src/status.html b/code/html/src/status.html index b9f05487..7a824eab 100644 --- a/code/html/src/status.html +++ b/code/html/src/status.html @@ -10,7 +10,7 @@ - + @@ -30,16 +30,16 @@ - + - + - ? + ?