Rollup merge of #75366 - GuillaumeGomez:help-button, r=jyn514
Add help button Part of #75197. Here is a screenshot of the result:  r? @jyn514
This commit is contained in:
commit
51ed33d8c2
6 changed files with 27 additions and 11 deletions
|
@ -473,7 +473,9 @@ function defocusSearchBar() {
|
|||
}());
|
||||
|
||||
document.addEventListener("click", function(ev) {
|
||||
if (hasClass(ev.target, "collapse-toggle")) {
|
||||
if (hasClass(ev.target, "help-button")) {
|
||||
displayHelp(true, ev);
|
||||
} else if (hasClass(ev.target, "collapse-toggle")) {
|
||||
collapseDocs(ev.target, "toggle");
|
||||
} else if (hasClass(ev.target.parentNode, "collapse-toggle")) {
|
||||
collapseDocs(ev.target.parentNode, "toggle");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue