Commit 798f7db24faba28c33a2a67602a8b81ed4869d5d

Authored by Mike Bajur
1 parent 533ef87b

Update flash message timeout to 5 seconds

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/assets/javascripts/main.js.coffee
@@ -89,7 +89,7 @@ $ -> @@ -89,7 +89,7 @@ $ ->
89 if (flash = $(".flash-container")).length > 0 89 if (flash = $(".flash-container")).length > 0
90 flash.click -> $(@).fadeOut() 90 flash.click -> $(@).fadeOut()
91 flash.show() 91 flash.show()
92 - setTimeout (-> flash.fadeOut()), 3000 92 + setTimeout (-> flash.fadeOut()), 5000
93 93
94 # Disable form buttons while a form is submitting 94 # Disable form buttons while a form is submitting
95 $('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) -> 95 $('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->