Commit 7a4a17f015df6ef26ab2e33ea0127d73aead8e20
1 parent
df427d0a
button classes
Showing
1 changed file
with
9 additions
and
0 deletions
 
Show diff stats
frontend/web/js/script.js
| ... | ... | @@ -121,6 +121,15 @@ $( | 
| 121 | 121 | $(".send-form").removeClass("consultation"); | 
| 122 | 122 | $("#feedback-form")['0'].reset(); | 
| 123 | 123 | }); | 
| 124 | + $(".modal.fade.in").on('click',function(){ | |
| 125 | + $("#feedback-form")['0'].reset(); | |
| 126 | + $(".send-form").removeClass("specialist"); | |
| 127 | + $(".send-form").removeClass("calculate"); | |
| 128 | + $(".send-form").removeClass("order"); | |
| 129 | + $(".send-form").removeClass("call"); | |
| 130 | + $(".send-form").removeClass("callback"); | |
| 131 | + $(".send-form").removeClass("consultation"); | |
| 132 | + }); | |
| 124 | 133 | $(".press-consultation").on('click',function(){ | 
| 125 | 134 | $("#feedback-form")['0'].reset(); | 
| 126 | 135 | $(".send-form").removeClass("specialist"); | ... | ... | 
