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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user