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