Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add fade out to progress bar

  • Loading branch information...
commit 7b60bc4b92ee2c53c19d8613da2c316458b98f76 1 parent b03d1f6
@lapluviosilla lapluviosilla authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/assets/javascripts/projects_setup.js.coffee
View
3  app/assets/javascripts/projects_setup.js.coffee
@@ -52,7 +52,8 @@ ipo['projects_setup']['show'] = ->
progress = parseInt(data.loaded / data.total * 100, 10)
data.context.find('.bar').css('width', progress + '%')
if progress == 100
- data.context.remove()
+ data.context.fadeOut "slow", ->
+ $(this).remove()
$('.project_media').on "ajax:success", ".media form", (event, data, status, xhr) ->
$(event.target).parent().fadeOut "slow", () ->
Please sign in to comment.
Something went wrong with that request. Please try again.