Commit 1a3ca6b1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4797 from mbajur/flashes-revived

Make flash messages fixed and sticked to bottom
parents 0e387919 798f7db2
......@@ -89,7 +89,7 @@ $ ->
if (flash = $(".flash-container")).length > 0
flash.click -> $(@).fadeOut()
flash.show()
setTimeout (-> flash.fadeOut()), 9000
setTimeout (-> flash.fadeOut()), 5000
# Disable form buttons while a form is submitting
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
......
......@@ -51,6 +51,10 @@ table a code {
text-align: center;
color: #fff;
font-size: 14px;
position: fixed;
bottom: 0;
width: 100%;
opacity: 0.8;
.flash-notice {
background: #49C;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment