Commit 6e2c38b47e5f439403c447565188271582c05901

Authored by Eugeny Galkovskiy
1 parent 5d081235

button classes

Showing 1 changed file with 35 additions and 33 deletions   Show diff stats
frontend/web/js/script.js
... ... @@ -112,38 +112,40 @@ $(
112 112 }
113 113 );
114 114  
115   -// $(".close, .modal.fade").on('click', function(){
116   -// $("#feedback-form")['0'].reset();
117   -// $(".send-form").removeClass("specialist");
118   -// $(".send-form").removeClass("calculate");
119   -// $(".send-form").removeClass("order");
120   -// $(".send-form").removeClass("call");
121   -// $(".send-form").removeClass("callback");
122   -// $(".send-form").removeClass("consultation");
123   -// });
124   -// $(".press-consultation").on('click',function(){
125   -// $("#feedback-form")['0'].reset();
126   -// $(".send-form").addClass("consultation");
127   -// });
128   -// $(".press-specialist").on('click',function(){
129   -// $("#feedback-form")['0'].reset();
130   -// $(".send-form").addClass("specialist");
131   -// });
132   -// $(".press-calculate").on('click',function(){
133   -// $("#feedback-form")['0'].reset();
134   -// $(".send-form").addClass("calculate");
135   -// });
136   -// $(".press-order").on('click',function(){
137   -// $("#feedback-form")['0'].reset();
138   -// $(".send-form").addClass("order");
139   -// });
140   -// $(".press-call").on('click',function(){
141   -// $("#feedback-form")['0'].reset();
142   -// $(".send-form").addClass("call");
143   -// });
144   -// $(".press-callback").on('click',function(){
145   -// $("#feedback-form")['0'].reset();
146   -// $(".send-form").addClass("callback");
147   -// });
  115 + /* нужно для гугл аналитики */
  116 +
  117 + $(".close, .modal.fade").on('click', function(){
  118 + // $("#feedback-form")['0'].reset();
  119 + $(".send-form").removeClass("specialist");
  120 + $(".send-form").removeClass("calculate");
  121 + $(".send-form").removeClass("order");
  122 + $(".send-form").removeClass("call");
  123 + $(".send-form").removeClass("callback");
  124 + $(".send-form").removeClass("consultation");
  125 + });
  126 + $(".press-consultation").on('click',function(){
  127 + // $("#feedback-form")['0'].reset();
  128 + $(".send-form").addClass("consultation");
  129 + });
  130 + $(".press-specialist").on('click',function(){
  131 + // $("#feedback-form")['0'].reset();
  132 + $(".send-form").addClass("specialist");
  133 + });
  134 + $(".press-calculate").on('click',function(){
  135 + // $("#feedback-form")['0'].reset();
  136 + $(".send-form").addClass("calculate");
  137 + });
  138 + $(".press-order").on('click',function(){
  139 + // $("#feedback-form")['0'].reset();
  140 + $(".send-form").addClass("order");
  141 + });
  142 + $(".press-call").on('click',function(){
  143 + // $("#feedback-form")['0'].reset();
  144 + $(".send-form").addClass("call");
  145 + });
  146 + $(".press-callback").on('click',function(){
  147 + // $("#feedback-form")['0'].reset();
  148 + $(".send-form").addClass("callback");
  149 + });
148 150 }
149 151 );
150 152 \ No newline at end of file
... ...