From 0c85bb821198591dbf3f86e01f41bfee1a45b607 Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Sat, 21 Apr 2012 19:40:01 -0400 Subject: [PATCH] Only slide up flash[:notices]; leave the errors so that the user can take their time rectifying the situation --- app/assets/javascripts/main.js.coffee.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/main.js.coffee.erb b/app/assets/javascripts/main.js.coffee.erb index 1b77bf2e..c67c8970 100644 --- a/app/assets/javascripts/main.js.coffee.erb +++ b/app/assets/javascripts/main.js.coffee.erb @@ -6,7 +6,7 @@ jQuery $ -> $("html").removeClass("no-js").addClass("js") # Hide flash messages - $("#flash").delay(4000).slideUp('slow') + $("#flash .notice").delay(4000).slideUp('slow') # Replace images that 404 with the default avatar replaceBrokenImages = ->