Change alert box fadeout to avoid an empty space

This commit is contained in:
Frederic Guillot
2015-07-04 17:00:29 -04:00
parent 04300f6b5f
commit 0e5756ecc1
4 changed files with 21 additions and 82 deletions

View File

@@ -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();
},