Skip to content

Commit

Permalink
Only slide up flash[:notices]; leave the errors so that the user can …
Browse files Browse the repository at this point in the history
…take their time rectifying the situation
  • Loading branch information
carols10cents committed Apr 21, 2012
1 parent 0f1d676 commit 0c85bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/main.js.coffee.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ->
Expand Down

0 comments on commit 0c85bb8

Please sign in to comment.