1
0
Fork 0

chore(website): small alert if there is an error.

This commit is contained in:
Sylvain UTARD 2015-12-18 18:19:10 +01:00
parent 35cc904706
commit e853b16878

View file

@ -17,6 +17,7 @@
$button.text('Thank you!');
}).fail(function() {
$button.attr('disabled', null);
alert('An error occurred, please try again later.');
})
return false;
});