Skip to content

Commit

Permalink
webadmin: remove stray text "pre" in on the "required dns records" page
Browse files Browse the repository at this point in the history
  • Loading branch information
mjl- committed Jun 24, 2024
1 parent 9bab312 commit fdcd2eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webadmin/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
2 changes: 1 addition & 1 deletion webadmin/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
}
Expand Down

0 comments on commit fdcd2eb

Please sign in to comment.