mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user