mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add lazy loading to post avatars
This commit is contained in:
@@ -58,6 +58,7 @@ export function avatarImg(wanted, attrs) {
|
||||
src: getURLWithCDN(url),
|
||||
title,
|
||||
"aria-label": title,
|
||||
loading: "lazy",
|
||||
},
|
||||
className,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user