зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1391647 - Fix header title in about:telemetry r=chutten
Clicking on a subsection then clicking on a section now change the title. MozReview-Commit-ID: AmdO0DTRstr --HG-- extra : rebase_source : f0d2b53643add4612de9233142e9144d583f70c6
This commit is contained in:
Родитель
73d4d1cea9
Коммит
f383997c7c
|
@ -1897,6 +1897,8 @@ function show(selected) {
|
|||
}
|
||||
}
|
||||
|
||||
adjustHeaderState();
|
||||
|
||||
let current_button = document.querySelector(".category.selected");
|
||||
if (current_button == selected)
|
||||
return;
|
||||
|
@ -1911,7 +1913,6 @@ function show(selected) {
|
|||
// Hack because subsection text appear selected. See Bug 1375114.
|
||||
document.getSelection().empty();
|
||||
|
||||
adjustHeaderState();
|
||||
displayProcessesSelector(selectedValue);
|
||||
adjustSearchState();
|
||||
changeUrlPath(selectedValue);
|
||||
|
|
Загрузка…
Ссылка в новой задаче