Allow disabling auto-dismiss of flash messages on mobile

This commit is contained in:
Lance Edgar 2018-01-25 14:15:25 -06:00
parent 96e5c42795
commit f32cf3342c
2 changed files with 9 additions and 4 deletions

View file

@ -62,10 +62,6 @@ $(document).on('pageshow', function() {
setfocus();
// TODO: seems like this should be better somehow...
// remove all flash messages after 2.5 seconds
window.setTimeout(function() { $('.flash, .error').remove(); }, 2500);
});