Add custom avatars for groups

This commit is contained in:
Cohee
2023-06-25 02:57:07 +03:00
parent 66de4a1e09
commit 31057e1e81
5 changed files with 130 additions and 11 deletions

View File

@ -3742,7 +3742,7 @@ async function read_avatar_load(input) {
}
}
function getCropPopup(src) {
export function getCropPopup(src) {
return `<h3>Set the crop position of the avatar image and click Ok to confirm.</h3>
<div id='avatarCropWrap'>
<img id='avatarToCrop' src='${src}'>