From 7a4a17f015df6ef26ab2e33ea0127d73aead8e20 Mon Sep 17 00:00:00 2001 From: zhegal Date: Wed, 28 Feb 2018 12:13:27 +0200 Subject: [PATCH] button classes --- frontend/web/js/script.js | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index ea48f16..d29200c 100755 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -121,6 +121,15 @@ $( $(".send-form").removeClass("consultation"); $("#feedback-form")['0'].reset(); }); + $(".modal.fade.in").on('click',function(){ + $("#feedback-form")['0'].reset(); + $(".send-form").removeClass("specialist"); + $(".send-form").removeClass("calculate"); + $(".send-form").removeClass("order"); + $(".send-form").removeClass("call"); + $(".send-form").removeClass("callback"); + $(".send-form").removeClass("consultation"); + }); $(".press-consultation").on('click',function(){ $("#feedback-form")['0'].reset(); $(".send-form").removeClass("specialist"); -- libgit2 0.21.4