mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	activity: Rename has_focus to client_is_active.
This makes it a lot more clear what it actually means, which is not directly related to whether the browser window is focused.
This commit is contained in:
		| @@ -939,7 +939,7 @@ MessageListView.prototype = { | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         if (!activity.has_focus) { | ||||
|         if (!activity.client_is_active) { | ||||
|             // Don't autoscroll if the window hasn't had focus | ||||
|             // recently.  This in intended to help protect us from | ||||
|             // auto-scrolling downwards when the window is in the | ||||
|   | ||||
		Reference in New Issue
	
	Block a user