Set Feedback Alerts to disappear after 4 seconds instead of 2 seconds

This commit is contained in:
johnnyq 2021-12-28 18:20:15 -05:00
parent 33400894d5
commit 15d95a3647
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ if(window.history.replaceState){
window.history.replaceState(null, null, window.location.href);
}
// Slide alert up after 2 secs
$("#alert").fadeTo(2000, 500).slideUp(500, function(){
// Slide alert up after 4 secs
$("#alert").fadeTo(4000, 500).slideUp(500, function(){
$("#alert").slideUp(500);
});