mirror of https://github.com/zulip/zulip.git
streams_filter_icon: Convert from id to class.
This will allow us repeat the class which we cannot do with id.
This commit is contained in:
parent
d666b465b9
commit
637c7e297c
|
@ -694,7 +694,7 @@ export function initialize() {
|
||||||
browser_history.go_to_location("streams/subscribed");
|
browser_history.go_to_location("streams/subscribed");
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#streams_filter_icon").on("click", (e) => {
|
$(".streams_filter_icon").on("click", (e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
stream_list.toggle_filter_displayed(e);
|
stream_list.toggle_filter_displayed(e);
|
||||||
});
|
});
|
||||||
|
|
|
@ -56,7 +56,7 @@ li.show-more-topics {
|
||||||
}
|
}
|
||||||
|
|
||||||
#streams_inline_cog,
|
#streams_inline_cog,
|
||||||
#streams_filter_icon {
|
.streams_filter_icon {
|
||||||
float: right;
|
float: right;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
<div id="streams_list" class="zoom-out">
|
<div id="streams_list" class="zoom-out">
|
||||||
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title tippy-zulip-tooltip" data-tippy-content="{{ _('Filter streams') }} (q)">{{ _('STREAMS') }}</h4>
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title tippy-zulip-tooltip" data-tippy-content="{{ _('Filter streams') }} (q)">{{ _('STREAMS') }}</h4>
|
||||||
<i id="streams_inline_cog" class='fa fa-cog tippy-zulip-tooltip' aria-hidden="true" data-tippy-content="{{ _('Subscribe, add, or configure streams') }}"></i>
|
<i id="streams_inline_cog" class='fa fa-cog tippy-zulip-tooltip' aria-hidden="true" data-tippy-content="{{ _('Subscribe, add, or configure streams') }}"></i>
|
||||||
<i id="streams_filter_icon" class='fa fa-search tippy-zulip-tooltip' aria-hidden="true" data-tippy-content="{{ _('Filter streams') }} (q)"></i>
|
<i class="streams_filter_icon" class='fa fa-search tippy-zulip-tooltip' aria-hidden="true" data-tippy-content="{{ _('Filter streams') }} (q)"></i>
|
||||||
<div class="input-append notdisplayed stream_search_section">
|
<div class="input-append notdisplayed stream_search_section">
|
||||||
<input class="stream-list-filter home-page-input" type="text" autocomplete="off" placeholder="{{ _('Filter streams') }}" />
|
<input class="stream-list-filter home-page-input" type="text" autocomplete="off" placeholder="{{ _('Filter streams') }}" />
|
||||||
<button type="button" class="btn clear_search_button" id="clear_search_stream_button">
|
<button type="button" class="btn clear_search_button" id="clear_search_stream_button">
|
||||||
|
|
Loading…
Reference in New Issue