mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	avatars: Mark as lazy-loaded.
Similar to the previous commit, defer loading avatar images until they are actually likely to be seen.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							2f2803431d
						
					
				
				
					commit
					00dfb60f5b
				
			| @@ -1,6 +1,6 @@ | ||||
| <div class="u-{{msg/sender_id}} message-avatar sender_info_hover view_user_card_tooltip no-select" aria-hidden="true" data-is-bot="{{sender_is_bot}}"> | ||||
|     <div class="inline_profile_picture {{#sender_is_guest}} guest-avatar{{/sender_is_guest}}"> | ||||
|         <img src="{{small_avatar_url}}" alt="" class="no-drag"/> | ||||
|         <img loading="lazy" src="{{small_avatar_url}}" alt="" class="no-drag"/> | ||||
|     </div> | ||||
| </div> | ||||
| {{~! remove whitespace ~}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user