mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	right-sidebar: Added clear-search button on user-list searchbar.
A clear-search option to clear the user-list searchbox has been added. This feature was present in the main searchbar but absent elsewhere. Fix a part of #3716.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							233c5eb255
						
					
				
				
					commit
					c3dbce810e
				
			@@ -99,7 +99,7 @@ exports.initialize = function () {
 | 
			
		||||
    // Some of these functions don't actually need to be exported,
 | 
			
		||||
    // but the code was moved here from elsewhere, and it would be
 | 
			
		||||
    // more work to re-order everything and make them private.
 | 
			
		||||
    $('#search_exit' ).on('click', exports.clear_search);
 | 
			
		||||
    $('#search_exit').on('click', exports.clear_search);
 | 
			
		||||
 | 
			
		||||
    var query = $('#search_query');
 | 
			
		||||
    query.on('focus', exports.focus_search)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user