mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This commit addresses the issue where pressing the ENTER key on the "more conversations" link in the direct messages list did not perform the intended action by adding a `trigger-click-on-enter` class to the element. This allows the `process_enter_key` function to explicitly trigger a click event on the element when the ENTER key is pressed, ensuring that the associated click handler is called.
7 lines
400 B
Handlebars
7 lines
400 B
Handlebars
<li id="show-more-direct-messages" class="dm-list-item dm-box bottom_left_row {{#unless more_conversations_unread_count}}zero-dm-unreads{{/unless}}">
|
|
<a class="dm-name trigger-click-on-enter" tabindex="0">{{t "more conversations" }}</a>
|
|
<span class="unread_count {{#unless more_conversations_unread_count}}zero_count{{/unless}}">
|
|
{{more_conversations_unread_count}}
|
|
</span>
|
|
</li>
|