mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
reset avatar cropper before showing
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
8676882bcb
commit
76be867898
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ function avatarResponseHandler (data) {
|
|||
oc_userconfig.avatar.generated = false;
|
||||
updateAvatar();
|
||||
} else if (data.data === "notsquare") {
|
||||
cleanCropper();
|
||||
showAvatarCropper();
|
||||
} else {
|
||||
$warning.show();
|
||||
|
|
|
|||
Loading…
Reference in a new issue