diff options
author | Vincent Tam <sere@live.hk> | 2019-05-21 13:58:22 +0300 |
---|---|---|
committer | Vincent Tam <sere@live.hk> | 2019-05-21 13:58:22 +0300 |
commit | 3a8493ea5ecc6af00c9e80e6c130560194dedc6e (patch) | |
tree | 2ef81ccbbb2b5920278147e6b40220a8804f874b | |
parent | 1d44fda9ce1592b935ac2989748b913eadb4dd3a (diff) |
Affichage du msg de succès pendant trois secondes
-rw-r--r-- | assets/js/staticman.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/staticman.js b/assets/js/staticman.js index e49b2dd..e205cd9 100644 --- a/assets/js/staticman.js +++ b/assets/js/staticman.js @@ -17,7 +17,7 @@ $(document).ready(function() { $('input[type="submit"]').addClass('hidden'); $('input[type="submit"]:disabled').removeClass('hidden'); showAlert('success'); - clearForm(); + setTimeout(function(){ clearForm() }, 3000); $(form).removeClass('disabled'); }, error: function (err) { |