Commit 834eacd75a11ba777c7b86ef48459bb3cde948f0
1 parent
7fee0fa2
button classes
Showing
2 changed files
with
3 additions
and
12 deletions
Show diff stats
frontend/views/site/individual.php
... | ... | @@ -92,7 +92,7 @@ |
92 | 92 | </div> |
93 | 93 | </div> |
94 | 94 | <div class="col-md-12 col-xs-12 get_station_center"> |
95 | - <a href="#" class="btn button1 modaled init-button-сalculate mini" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
95 | + <a href="#" class="btn button1 modaled init-button-сalculate mini press-calculate" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
96 | 96 | </div> |
97 | 97 | </div> |
98 | 98 | </div> |
... | ... | @@ -142,7 +142,7 @@ |
142 | 142 | </div> |
143 | 143 | </div> |
144 | 144 | <div class="col-md-12 col-xs-12 get_station_center"> |
145 | - <a href="#" class="btn button1 modaled init-button-сalculate mini" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
145 | + <a href="#" class="btn button1 modaled init-button-сalculate mini press-calculate" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
146 | 146 | </div> |
147 | 147 | </div> |
148 | 148 | </div> | ... | ... |
frontend/web/js/script.js
... | ... | @@ -112,16 +112,7 @@ $( |
112 | 112 | } |
113 | 113 | ); |
114 | 114 | |
115 | - $(".close").on('click', function(){ | |
116 | - $(".send-form").removeClass("specialist"); | |
117 | - $(".send-form").removeClass("calculate"); | |
118 | - $(".send-form").removeClass("order"); | |
119 | - $(".send-form").removeClass("call"); | |
120 | - $(".send-form").removeClass("callback"); | |
121 | - $(".send-form").removeClass("consultation"); | |
122 | - $("#feedback-form")['0'].reset(); | |
123 | - }); | |
124 | - $(".modal.fade.in").on('click',function(){ | |
115 | + $(".close, .modal.fade").on('click', function(){ | |
125 | 116 | $("#feedback-form")['0'].reset(); |
126 | 117 | $(".send-form").removeClass("specialist"); |
127 | 118 | $(".send-form").removeClass("calculate"); | ... | ... |