left_sidebar: Fix user unable to type in DM search input.

This was due to non message list views didn't know that they
shouldn't try to process hotkey when DM search input is in focus.

(cherry picked from commit 1ce9fcdada)
This commit is contained in:
Aman Agrawal
2024-08-14 04:33:37 +00:00
committed by Tim Abbott
parent de3cc7b5f3
commit 125a6e9421

View File

@@ -156,7 +156,7 @@
<span class="hide-more-direct-messages-text"> {{t 'back to channels' }}</span>
</a>
<div class="zoom-out-hide direct-messages-search-section">
<input class="direct-messages-list-filter filter_text_input" type="text" autocomplete="off" placeholder="{{t 'Filter direct messages' }}" />
<input class="direct-messages-list-filter filter_text_input home-page-input" type="text" autocomplete="off" placeholder="{{t 'Filter direct messages' }}" />
<button type="button" class="btn clear_search_button" id="clear-direct-messages-search-button">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>