mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Removed match_on_visible_text() in search.js.
It appears to have been unused for a while. (imported from commit 04a0de9f60484da660a557ad2b9953c00b91c608)
This commit is contained in:
		@@ -127,13 +127,6 @@ exports.initialize = function () {
 | 
			
		||||
    });
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
function match_on_visible_text(row, search_term) {
 | 
			
		||||
    // You can't select on :visible, since that includes hidden elements that
 | 
			
		||||
    // take up space.
 | 
			
		||||
    return row.find(".message_content, .message_header")
 | 
			
		||||
              .text().toLowerCase().indexOf(search_term) !== -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.focus_search = function () {
 | 
			
		||||
    // The search bar is not focused yet, but will be.
 | 
			
		||||
    update_buttons_with_focus(true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user