mirror of https://github.com/zulip/zulip.git
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:
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 ~}}
|
||||
|
|
Loading…
Reference in New Issue