mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 16:48:59 -04:00
Merge pull request #23721 from nextcloud/reset-avatar-cropper
reset avatar cropper before showing
This commit is contained in:
commit
157c5abbc4
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