Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <sere@live.hk>2019-05-21 13:58:22 +0300
committerVincent Tam <sere@live.hk>2019-05-21 13:58:22 +0300
commit3a8493ea5ecc6af00c9e80e6c130560194dedc6e (patch)
tree2ef81ccbbb2b5920278147e6b40220a8804f874b
parent1d44fda9ce1592b935ac2989748b913eadb4dd3a (diff)
Affichage du msg de succès pendant trois secondes
-rw-r--r--assets/js/staticman.js2
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) {