diff --git a/scipost/static/scipost/assets/js/scripts.js b/scipost/static/scipost/assets/js/scripts.js new file mode 100644 index 0000000000000000000000000000000000000000..b79dcd2ae4a00411aa3862b5c5d10622f52c20e3 --- /dev/null +++ b/scipost/static/scipost/assets/js/scripts.js @@ -0,0 +1,9 @@ +function hide_all_alerts() { + $(".alert").fadeOut(300); +} + + +$(function(){ + // Remove all alerts in screen automatically after 4sec. + setTimeout(function() {hide_all_alerts()}, 4000); +});