aboutsummaryrefslogtreecommitdiffstats
path: root/static/dashboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/dashboard.js')
-rw-r--r--static/dashboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/dashboard.js b/static/dashboard.js
index de8aaae..5559218 100644
--- a/static/dashboard.js
+++ b/static/dashboard.js
@@ -262,8 +262,8 @@ export default {
acts.textContent = "";
for (const a of st.actions ?? []) {
const b = document.createElement("button");
- b.className = "nf";
- b.textContent = a.icon;
+ b.innerHTML = `<i class="nf"></i>`;
+ b.firstChild.textContent = a.icon;
b.title = a.label;
b.setAttribute("aria-label", a.label);
b.onclick = async () => {