mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	eslint: Fix unicorn/prefer-date-now.
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v24.0.0/docs/rules/prefer-date-now.md Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							2f80415756
						
					
				
				
					commit
					dd8e14d3e6
				
			@@ -1260,7 +1260,7 @@ exports.register_click_handlers = function () {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            const date = new Date().getTime();
 | 
			
		||||
            const date = Date.now();
 | 
			
		||||
 | 
			
		||||
            // only run `popovers.hide_all()` if the last scroll was more
 | 
			
		||||
            // than 250ms ago.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user