Commit 798f7db24faba28c33a2a67602a8b81ed4869d5d
1 parent
533ef87b
Exists in
master
and in
4 other branches
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 | 89 | if (flash = $(".flash-container")).length > 0 |
90 | 90 | flash.click -> $(@).fadeOut() |
91 | 91 | flash.show() |
92 | - setTimeout (-> flash.fadeOut()), 3000 | |
92 | + setTimeout (-> flash.fadeOut()), 5000 | |
93 | 93 | |
94 | 94 | # Disable form buttons while a form is submitting |
95 | 95 | $('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) -> | ... | ... |