Commit 533ef87b134738e9d5c24067e531ee3fe4e9bf55
1 parent
0e387919
Exists in
master
and in
4 other branches
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()), 3000 | |
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