Update flash message timeout to 5 seconds

This commit is contained in:
Mike Bajur 2013-08-17 16:36:44 +02:00
parent 533ef87b13
commit 798f7db24f
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ $ ->
if (flash = $(".flash-container")).length > 0
flash.click -> $(@).fadeOut()
flash.show()
setTimeout (-> flash.fadeOut()), 3000
setTimeout (-> flash.fadeOut()), 5000
# Disable form buttons while a form is submitting
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->