reset avatar cropper before showing
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
86c66c29a9
commit
5c93d08bc1
|
@ -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 New Issue