left_sidebar: Include DM expand/collapse tooltip on arrow.

This commit is contained in:
Karl Stolley 2023-11-10 08:45:23 -06:00 committed by Tim Abbott
parent 5f1c9ca107
commit f8ce278e76
2 changed files with 3 additions and 3 deletions

View File

@ -421,7 +421,7 @@ export function initialize() {
});
delegate("body", {
target: "#pm_tooltip_container",
target: ".dm-tooltip-target",
onShow(instance) {
if ($(".direct-messages-container").hasClass("zoom-in")) {
return false;

View File

@ -136,8 +136,8 @@
<div id="private_messages_sticky_header" class="direct-messages-container zoom-out hidden-for-spectators">
<div id="private_messages_section">
<div id="private_messages_section_header" class="zoom-out zoom-in-sticky">
<i id="toggle_private_messages_section_icon" class="fa fa-sm fa-caret-down toggle_private_messages_section zoom-in-hide" aria-hidden="true" tabindex="0" role="button"></i>
<h4 id="pm_tooltip_container" class="left-sidebar-title toggle_private_messages_section">{{t 'DIRECT MESSAGES' }}</h4>
<i id="toggle_private_messages_section_icon" class="fa fa-sm fa-caret-down dm-tooltip-target toggle_private_messages_section zoom-in-hide" aria-hidden="true" tabindex="0" role="button"></i>
<h4 class="left-sidebar-title toggle_private_messages_section"><span class="dm-tooltip-target">{{t 'DIRECT MESSAGES' }}</span></h4>
<div class="heading-markers-and-controls">
<span class="unread_count"></span>
</div>