diff --git a/internal/web/assets/admin.js b/internal/web/assets/admin.js
index 9605471..bfcefaa 100644
--- a/internal/web/assets/admin.js
+++ b/internal/web/assets/admin.js
@@ -556,12 +556,10 @@ async function notifications() {
// The count row is only worth showing when there's a device besides this one.
const total = d.devices.length;
const others = total - (here ? 1 : 0);
- const row = (label, help, control, cls = "") => `
+ const row = (label, help, control) => `
${label}${help ? `
${help}
` : ""}
${control}
`;
- // A row whose control is one switch: on phones the switch goes before the text.
- const toggle = (label, help, sw) => row(label, help, sw, " toggle");
let device;
if (!d.available) device = row("This device", "Notifications aren't set up on the panel. Its log says why.", 'Unavailable');
@@ -584,13 +582,13 @@ async function notifications() {
Quiet hours
Nothing is sent between these times, in your timezone (${esc(browserTimezone())}).