From fdcd2eb0ebcf8bb589289ff88488cdc10b819fb2 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Mon, 24 Jun 2024 10:22:42 +0200 Subject: [PATCH] webadmin: remove stray text "pre" in on the "required dns records" page --- webadmin/admin.js | 2 +- webadmin/admin.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webadmin/admin.js b/webadmin/admin.js index 0e61bd2..36bf6c2 100644 --- a/webadmin/admin.js +++ b/webadmin/admin.js @@ -2580,7 +2580,7 @@ const domainDNSRecords = async (d) => { client.DomainRecords(d), client.ParseDomain(d), ]); - dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre('pre', dom._class('literal'), (records || []).join('\n')), dom.br()); + dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre(dom._class('literal'), (records || []).join('\n')), dom.br()); }; const domainDNSCheck = async (d) => { const [checks, dnsdomain] = await Promise.all([ diff --git a/webadmin/admin.ts b/webadmin/admin.ts index 439686e..de6e70a 100644 --- a/webadmin/admin.ts +++ b/webadmin/admin.ts @@ -1906,7 +1906,7 @@ const domainDNSRecords = async (d: string) => { 'DNS Records', ), dom.h1('Required DNS records'), - dom.pre('pre', dom._class('literal'), (records || []).join('\n')), + dom.pre(dom._class('literal'), (records || []).join('\n')), dom.br(), ) }