mirror of https://github.com/zulip/zulip.git
popovers: Add comment to clarify hideAll is a tippy function.
This helps some reviewing the code or just skimming through.
This commit is contained in:
parent
ae3e3fa3cc
commit
13b478f81f
|
@ -1134,6 +1134,7 @@ export function any_active() {
|
|||
export function hide_all_except_sidebars(opts) {
|
||||
$(".has_popover").removeClass("has_popover has_actions_popover has_emoji_popover");
|
||||
if (!opts || !opts.not_hide_tippy_instances) {
|
||||
// hideAll hides all tippy instances (tooltips and popovers).
|
||||
hideAll();
|
||||
} else if (opts.exclude_tippy_instance) {
|
||||
hideAll({exclude: opts.exclude_tippy_instance});
|
||||
|
|
Loading…
Reference in New Issue