summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 17:00:29 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 17:00:29 -0400
commit0e5756ecc162a8428e6ab3820562f45ef17f9e8b (patch)
tree917c32afcf592814dad8e42fb64d3d52e227fae2 /assets/js/src
parent04300f6b5f25707f30ddfb45fd79417ce72b7234 (diff)
Change alert box fadeout to avoid an empty space
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/base.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js
index 043b78f7..ab9e59a9 100644
--- a/assets/js/src/base.js
+++ b/assets/js/src/base.js
@@ -249,6 +249,11 @@ var Kanboard = (function() {
// Datepicker translation
$.datepicker.setDefaults($.datepicker.regional[$("body").data("js-lang")]);
+ // Alert box fadeout
+ $(".alert-fade-out").delay(4000).fadeOut(800, function() {
+ $(this).remove();
+ });
+
Kanboard.InitAfterAjax();
},