diff --git a/toolkit/content/aboutTelemetry.css b/toolkit/content/aboutTelemetry.css index fbb3db156da5..bfa9a16bc345 100644 --- a/toolkit/content/aboutTelemetry.css +++ b/toolkit/content/aboutTelemetry.css @@ -17,6 +17,7 @@ body { padding-top: 0px; overflow-y: auto; margin-bottom: 42px; + -moz-user-select: none; } .main-content.search > section > *:not(.data) { @@ -122,7 +123,6 @@ body[dir=rtl] .dropdown { padding: 8px 0px; padding-inline-start: 16px; display: none; - -moz-user-select: none; } .category-subsection.selected { diff --git a/toolkit/content/aboutTelemetry.js b/toolkit/content/aboutTelemetry.js index d2e79a33d372..877f86ce94ef 100755 --- a/toolkit/content/aboutTelemetry.js +++ b/toolkit/content/aboutTelemetry.js @@ -1981,9 +1981,6 @@ function show(selected) { }); selected_section.classList.add("active"); - // Hack because subsection text appear selected. See Bug 1375114. - document.getSelection().empty(); - adjustHeaderState(); displayProcessesSelector(selectedValue); adjustSearchState(); @@ -2008,7 +2005,6 @@ function showSubSection(selected) { let title = selected.parentElement.querySelector(".category-name").textContent; let subsection = selected.textContent; document.getElementById("sectionTitle").textContent = title + " - " + subsection; - document.getSelection().empty(); // prevent subsection text selection changeUrlPath(subsection, true); }