mirror of https://github.com/zulip/zulip.git
recent_conversation: Fix mute icon tooltip on focus.
Set data-tippy-trigger="mouseenter" on mute icon in recent conversation to prevent tippy from staying on when the mute icon is focused after clicking it. (The Tippy default is "mouseenter focus").
This commit is contained in:
parent
43669a83d8
commit
af24279aea
|
@ -58,9 +58,9 @@
|
|||
<div class="recent_topic_actions">
|
||||
<div class="recent_topics_focusable hidden-for-spectators">
|
||||
{{#if topic_muted}}
|
||||
<i class="zulip-icon zulip-icon-mute on_hover_topic_unmute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Unmute topic' }}" role="button" tabindex="0" aria-label="{{t 'Unmute topic' }}"></i>
|
||||
<i class="zulip-icon zulip-icon-mute on_hover_topic_unmute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Unmute topic' }}" data-tippy-trigger="mouseenter" role="button" tabindex="0" aria-label="{{t 'Unmute topic' }}"></i>
|
||||
{{else}}
|
||||
<i class="zulip-icon zulip-icon-mute on_hover_topic_mute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mute topic' }}" role="button" tabindex="0" aria-label="{{t 'Mute topic' }}"></i>
|
||||
<i class="zulip-icon zulip-icon-mute on_hover_topic_mute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mute topic' }}" data-tippy-trigger="mouseenter" role="button" tabindex="0" aria-label="{{t 'Mute topic' }}"></i>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue