Allow disabling auto-dismiss of flash messages on mobile
This commit is contained in:
parent
96e5c42795
commit
f32cf3342c
2 changed files with 9 additions and 4 deletions
|
@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue