Update flash message timeout to 5 seconds
This commit is contained in:
parent
533ef87b13
commit
798f7db24f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue