Skip to content

Commit

Permalink
Merge pull request tapquo#272 from imyelo/fix
Browse files Browse the repository at this point in the history
a bug of Notification
  • Loading branch information
Javi Jiménez committed Oct 13, 2013
2 parents 65239ed + bb89fcc commit 68ee124
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/modules/Lungo.Notification.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,15 @@ Lungo.Notification = do(lng = Lungo) ->
@method hide
###
hide = ->
_window.removeClass("show")
wait = 0
unless _window.hasClass("show")
wait = (TRANSITION.DURATION / 2)
setTimeout (->
_el.removeClass("show").removeClass("html").removeClass("confirm").removeClass("notify").removeClass "growl"
), (TRANSITION.DURATION / 2)
_window.removeClass("show")
setTimeout (->
_el.removeClass("show").removeClass("html").removeClass("confirm").removeClass("notify").removeClass "growl"
), (TRANSITION.DURATION / 2)
), wait


###
Expand Down

0 comments on commit 68ee124

Please sign in to comment.