diff --git a/browser/components/preferences/in-content/main.js b/browser/components/preferences/in-content/main.js index c49e91a5c60b..554972c57760 100644 --- a/browser/components/preferences/in-content/main.js +++ b/browser/components/preferences/in-content/main.js @@ -289,7 +289,7 @@ var gMainPane = { _backoffIndex: 0, /** - * Initialization of gMainPane. + * Initialization of this. */ init() { function setEventListener(aId, aEventType, aCallback) { @@ -520,15 +520,6 @@ var gMainPane = { // Initializes the fonts dropdowns displayed in this pane. this._rebuildFonts(); - if (Services.prefs.getBoolPref("intl.charset.detector.ng.enabled", false)) { - let advancedBtn = document.getElementById("advancedFonts"); - let l10nIds = advancedBtn - .getAttribute("search-l10n-ids") - .split(/\s*,\s*/); - l10nIds = l10nIds.filter(id => !id.includes("languages-fallback")); - advancedBtn.setAttribute("search-l10n-ids", l10nIds.join(", ")); - } - this.updateOnScreenKeyboardVisibility(); // Show translation preferences if we may: