diff --git a/browser/components/enterprisepolicies/content/aboutPolicies.js b/browser/components/enterprisepolicies/content/aboutPolicies.js
index 175ff1e13f24..a234fc14b392 100644
--- a/browser/components/enterprisepolicies/content/aboutPolicies.js
+++ b/browser/components/enterprisepolicies/content/aboutPolicies.js
@@ -286,10 +286,9 @@ function init() {
// Event delegation on #categories element
let menu = document.getElementById("categories");
- menu.addEventListener("click", function click(e) {
- if (e.target && e.target.parentNode == menu)
- show(e.target);
- });
+ for (let category of menu.children) {
+ category.addEventListener("click", () => show(category));
+ }
if (location.hash) {
let sectionButton = document.getElementById("category-" + location.hash.substring(1));
@@ -323,7 +322,7 @@ function show(button) {
button.setAttribute("selected", "true");
let title = document.getElementById("sectionTitle");
- title.textContent = button.children[0].textContent;
+ title.textContent = button.children[1].textContent;
location.hash = category;
restoreScrollPosition(category);
}
diff --git a/browser/components/enterprisepolicies/content/aboutPolicies.xhtml b/browser/components/enterprisepolicies/content/aboutPolicies.xhtml
index 0f4c65c5589a..5c09781b49dc 100644
--- a/browser/components/enterprisepolicies/content/aboutPolicies.xhtml
+++ b/browser/components/enterprisepolicies/content/aboutPolicies.xhtml
@@ -19,13 +19,16 @@
diff --git a/browser/components/enterprisepolicies/content/policies-active.svg b/browser/components/enterprisepolicies/content/policies-active.svg
new file mode 100644
index 000000000000..3ccb4ad79b47
--- /dev/null
+++ b/browser/components/enterprisepolicies/content/policies-active.svg
@@ -0,0 +1,3 @@
+
diff --git a/browser/components/enterprisepolicies/content/policies-documentation.svg b/browser/components/enterprisepolicies/content/policies-documentation.svg
new file mode 100644
index 000000000000..28352434f017
--- /dev/null
+++ b/browser/components/enterprisepolicies/content/policies-documentation.svg
@@ -0,0 +1,3 @@
+
diff --git a/browser/components/enterprisepolicies/content/policies-error.svg b/browser/components/enterprisepolicies/content/policies-error.svg
new file mode 100644
index 000000000000..58a24f12e981
--- /dev/null
+++ b/browser/components/enterprisepolicies/content/policies-error.svg
@@ -0,0 +1,3 @@
+
diff --git a/browser/components/enterprisepolicies/jar.mn b/browser/components/enterprisepolicies/jar.mn
index 29f9dae86ed0..a608ac6b1b9f 100644
--- a/browser/components/enterprisepolicies/jar.mn
+++ b/browser/components/enterprisepolicies/jar.mn
@@ -6,3 +6,6 @@ browser.jar:
content/browser/policies/aboutPolicies.css (content/aboutPolicies.css)
content/browser/policies/aboutPolicies.xhtml (content/aboutPolicies.xhtml)
content/browser/policies/aboutPolicies.js (content/aboutPolicies.js)
+ content/browser/policies/policies-active.svg (content/policies-active.svg)
+ content/browser/policies/policies-documentation.svg (content/policies-documentation.svg)
+ content/browser/policies/policies-error.svg (content/policies-error.svg)