зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 935977d665a9 (bug 1615853) for causing browser_search_subdialogs_within_preferences_5.js to permafail
This commit is contained in:
Родитель
28fcfbb1ca
Коммит
4ae82ebf22
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче