Skip to content
Snippets Groups Projects
Commit 798f7db2 authored by Mike Bajur's avatar Mike Bajur
Browse files

Update flash message timeout to 5 seconds

parent 533ef87b
No related branches found
No related tags found
1 merge request!4797Make flash messages fixed and sticked to bottom
Loading
Loading
@@ -89,7 +89,7 @@ $ ->
if (flash = $(".flash-container")).length > 0
flash.click -> $(@).fadeOut()
flash.show()
setTimeout (-> flash.fadeOut()), 3000
setTimeout (-> flash.fadeOut()), 5000
 
# Disable form buttons while a form is submitting
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment