mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 19:43:47 +00:00 
			
		
		
		
	eslint: Enable prefer-arrow-callback.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							960174408f
						
					
				
				
					commit
					a79322bc94
				
			| @@ -123,9 +123,7 @@ function buddy_list_create() { | ||||
|  | ||||
|     self.get_items = function () { | ||||
|         const obj = self.container.find(self.item_sel); | ||||
|         return obj.map(function (i, elem) { | ||||
|             return $(elem); | ||||
|         }); | ||||
|         return obj.map((i, elem) => $(elem)); | ||||
|     }; | ||||
|  | ||||
|     self.first_key = function () { | ||||
| @@ -317,7 +315,7 @@ function buddy_list_create() { | ||||
|         // sure everything's in place. | ||||
|         const scroll_container = ui.get_scroll_element($(self.scroll_container_sel)); | ||||
|  | ||||
|         scroll_container.scroll(function () { | ||||
|         scroll_container.scroll(() => { | ||||
|             self.fill_screen_with_content(); | ||||
|         }); | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user