Skip to content
Snippets Groups Projects
Verified Commit 9b2bf2b7 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Revert "Bug 42378: Apply spoof English to the default detail summary."

This reverts commit bdfc4f4cd8acca6cfd851fdc9866b27392c4fe68.
parent 1b9657fb
No related merge requests found
......@@ -105,9 +105,8 @@ void HTMLDetailsElement::SetupShadowTree() {
}
nsAutoString defaultSummaryText;
nsContentUtils::GetMaybeLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
"DefaultSummary", OwnerDoc(),
defaultSummaryText);
nsContentUtils::GetLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
"DefaultSummary", defaultSummaryText);
RefPtr<nsTextNode> description = new (nim) nsTextNode(nim);
description->SetText(defaultSummaryText, kNotify);
summary->AppendChildTo(description, kNotify, IgnoreErrors());
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment