Removed debug alert message
This commit is contained in:
parent
aa07c719d3
commit
27cdf6b809
|
@ -146,8 +146,6 @@
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if (xhr.readyState == 4 && xhr.status == 200) {
|
if (xhr.readyState == 4 && xhr.status == 200) {
|
||||||
location.reload();
|
location.reload();
|
||||||
} else {
|
|
||||||
alert('An error occurred uploading avatar image')
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
xhr.open(form.method, form.action, true);
|
xhr.open(form.method, form.action, true);
|
||||||
|
|
Loading…
Reference in New Issue