From 1806bef3cd71429785a28ef45c62204c7c588b3b Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Tue, 31 Jan 2017 15:38:12 +0100 Subject: [PATCH] Add ignored file for last commit --- scipost/static/scipost/assets/js/scripts.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scipost/static/scipost/assets/js/scripts.js diff --git a/scipost/static/scipost/assets/js/scripts.js b/scipost/static/scipost/assets/js/scripts.js new file mode 100644 index 000000000..b79dcd2ae --- /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); +}); -- GitLab