mirror of https://github.com/itflow-org/itflow
Set Feedback Alerts to disappear after 4 seconds instead of 2 seconds
This commit is contained in:
parent
33400894d5
commit
15d95a3647
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue