Commit 1a3ca6b14992e0333e1acd9e7248d2781c27f5a5
Exists in
master
and in
4 other branches
Merge pull request #4797 from mbajur/flashes-revived
Make flash messages fixed and sticked to bottom
Showing
2 changed files
with
5 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()), 9000 | |
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) -> | ... | ... |
app/assets/stylesheets/common.scss