aboutsummaryrefslogtreecommitdiff
path: root/views/_navbar.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/_navbar.haml')
-rw-r--r--views/_navbar.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/_navbar.haml b/views/_navbar.haml
index 5df4991..283572f 100644
--- a/views/_navbar.haml
+++ b/views/_navbar.haml
@@ -28,3 +28,5 @@
#{flash[klass]}
:javascript
$(document).ready(function () { $('div.flash').delay(1000).fadeOut(2000);});
+ - else
+ %div{:class => ["flash", klass], :style => "display: none"}