Skip to content

Commit

Permalink
Merge pull request #531 from aholachek/alert-fade
Browse files Browse the repository at this point in the history
forgot to add display:none to alert after it fades out, otherwise can…
  • Loading branch information
romanchyla committed Jul 30, 2015
2 parents 0359064 + 2e2247f commit f5288d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/widgets/alerts/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ define([
},

close : function(){
var that = this;
this.$(".alert").addClass("fadeOutUp");
setTimeout(function(){
that.$(".alert").css("display", "none");
},900);
},

destroy: function() {
Expand Down

0 comments on commit f5288d8

Please sign in to comment.