left_sidebar: Fix ENTER key behavior in back to channels in topics list.

This commit addresses the issue where pressing the ENTER key on the
"back to channels" link in the zoomed in topics list did not perform
the intended action by adding the `trigger-click-on-enter` class to
the element.
This commit is contained in:
Sayam Samal
2025-07-25 12:07:30 +05:30
committed by Tim Abbott
parent c3aaaa2303
commit 2462a6b457

View File

@@ -216,7 +216,7 @@
</div> </div>
</div> </div>
<div id="topics_header"> <div id="topics_header">
<a class="show-all-streams" tabindex="0">{{t 'Back to channels' }}</a> <span class="unread_count quiet-count"></span> <a class="show-all-streams trigger-click-on-enter" tabindex="0">{{t 'Back to channels' }}</a> <span class="unread_count quiet-count"></span>
</div> </div>
<div id="stream-filters-container"> <div id="stream-filters-container">
<ul id="stream_filters" class="filters"></ul> <ul id="stream_filters" class="filters"></ul>