Bug 1311789: Fix the missing "Themes" legend in devtools options panel. r=jryans

MozReview-Commit-ID: 6ZpXntxvk3w

--HG--
extra : rebase_source : d129842a1dc81cce318e8e4e9e78ad5455bca8e4
This commit is contained in:
Alexandre Poirot 2016-10-25 03:18:28 -07:00
Родитель bbf6fceee0
Коммит 84abd2cc9a
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -256,7 +256,10 @@ OptionsPanel.prototype = {
setupThemeList: function () {
let themeBox = this.panelDoc.getElementById("devtools-theme-box");
themeBox.innerHTML = "";
let themeLabels = themeBox.querySelectorAll("label");
for (let label of themeLabels) {
label.remove();
}
let createThemeOption = theme => {
let inputLabel = this.panelDoc.createElement("label");