diff --git a/airtime_mvc/public/js/airtime/common/common.js b/airtime_mvc/public/js/airtime/common/common.js index bd162f980..aa449dddf 100644 --- a/airtime_mvc/public/js/airtime/common/common.js +++ b/airtime_mvc/public/js/airtime/common/common.js @@ -5,6 +5,10 @@ $(document).ready(function() { afterDetachCSSClass: "floated-panel", savePanelSpace: true }); + + + //this statement tells the browser to fade out any success message after 5 seconds + setTimeout(function(){$(".success").fadeOut("slow", function(){$(this).empty()});}, 5000); }); function adjustDateToServerDate(date, serverTimezoneOffset){