Bug 1801927 - refactor media control learn more link. r=settings-reviewers,mconley

Replaces the "Control media via keyboard, headset, or virtual interface"
XUL label with the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166469
This commit is contained in:
Tim Giles
2023-01-18 19:13:34 +00:00
parent bcd9cd6b58
commit 6b44824dc0
2 changed files with 4 additions and 6 deletions

View File

@@ -482,11 +482,6 @@ var gMainPane = {
AppConstants.MOZ_WIDGET_GTK
) {
document.getElementById("mediaControlBox").hidden = false;
let mediaControlLearnMoreUrl =
Services.urlFormatter.formatURLPref("app.support.baseURL") +
"media-keyboard-control";
let link = document.getElementById("mediaControlLearnMore");
link.setAttribute("href", mediaControlLearnMoreUrl);
}
// Initializes the fonts dropdowns displayed in this pane.