mirror of https://github.com/zulip/zulip.git
Remove hack for stream cog.
We don't need to special-case the stream cog handler when we handle the click event for the surrounding header. The browser will fire the event for the cog first, which stops propagation.
This commit is contained in:
parent
e9c6f3a07d
commit
d1bf6028ef
|
@ -611,9 +611,6 @@ exports.clear_and_hide_search = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.toggle_filter_displayed = function (e) {
|
exports.toggle_filter_displayed = function (e) {
|
||||||
if (e.target.id === 'streams_inline_cog') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if ($('#stream-filters-container .input-append.notdisplayed').length === 0) {
|
if ($('#stream-filters-container .input-append.notdisplayed').length === 0) {
|
||||||
exports.clear_and_hide_search();
|
exports.clear_and_hide_search();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue