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:
Steve Howell 2018-04-25 12:08:06 +00:00 committed by Tim Abbott
parent e9c6f3a07d
commit d1bf6028ef
1 changed files with 0 additions and 3 deletions

View File

@ -611,9 +611,6 @@ exports.clear_and_hide_search = function () {
};
exports.toggle_filter_displayed = function (e) {
if (e.target.id === 'streams_inline_cog') {
return;
}
if ($('#stream-filters-container .input-append.notdisplayed').length === 0) {
exports.clear_and_hide_search();
} else {