Commit c8d166a932e625fe2bed07e5b00a7ce1cfbc1be9
1 parent
ca764699
modal1
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/web/js/modal.js
... | ... | @@ -63,8 +63,8 @@ $( |
63 | 63 | // $(".modal-dialog").append(data.alert); |
64 | 64 | // setTimeout(function(){location.reload()}, 5000); |
65 | 65 | $(".close").click(); |
66 | - $(".success_").animate({opacity: 1, top: '40'}, 200).addClass("done_"); | |
67 | - setTimeout(function(){$(".success_").animate({opacity: 0, top: '0'}, 200,function(){ | |
66 | + $(".success_").animate({opacity: 1, top: '40', display: 'block'}, 200).addClass("done_"); | |
67 | + setTimeout(function(){$(".success_").animate({opacity: 0, top: '0', display: 'none'}, 200,function(){ | |
68 | 68 | $(this).removeClass("done_"); |
69 | 69 | })}, 4000); |
70 | 70 | ... | ... |