Commit b6ba3f7fd7badafe1967a03303334a858db29d83
1 parent
c8d166a9
modal1
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
frontend/web/css/custom.css
@@ -484,6 +484,11 @@ div.modal-title{ | @@ -484,6 +484,11 @@ div.modal-title{ | ||
484 | max-width: 720px; | 484 | max-width: 720px; |
485 | margin: 0 auto; | 485 | margin: 0 auto; |
486 | } | 486 | } |
487 | +.success_.done_{ | ||
488 | + opacity: 1!important; | ||
489 | + display: block; | ||
490 | + z-index: 99999; | ||
491 | +} | ||
487 | @media (max-width: 991px) { | 492 | @media (max-width: 991px) { |
488 | .footer-copyrights{ | 493 | .footer-copyrights{ |
489 | margin-top:0; | 494 | margin-top:0; |
frontend/web/js/modal.js
@@ -63,8 +63,8 @@ $( | @@ -63,8 +63,8 @@ $( | ||
63 | // $(".modal-dialog").append(data.alert); | 63 | // $(".modal-dialog").append(data.alert); |
64 | // setTimeout(function(){location.reload()}, 5000); | 64 | // setTimeout(function(){location.reload()}, 5000); |
65 | $(".close").click(); | 65 | $(".close").click(); |
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(){ | 66 | + $(".success_").animate({opacity: 1, top: '40'}, 200).addClass("done_"); |
67 | + setTimeout(function(){$(".success_").animate({opacity: 0, top: '0'}, 200,function(){ | ||
68 | $(this).removeClass("done_"); | 68 | $(this).removeClass("done_"); |
69 | })}, 4000); | 69 | })}, 4000); |
70 | 70 |