Commit 70b92647 authored by Shakarim Sapa's avatar Shakarim Sapa

- Настроили положение окна

parent b093f249
...@@ -150,6 +150,11 @@ $(document).ready(function() { ...@@ -150,6 +150,11 @@ $(document).ready(function() {
type: 'inline', type: 'inline',
preloader: false preloader: false
}); });
$(document).on('click', '.mfp-close', function (e) {
e.preventDefault();
$.magnificPopup.close();
});
}); });
// pre-submit callback // pre-submit callback
......
...@@ -92,7 +92,7 @@ WidgetAssetBundle::register($this); ...@@ -92,7 +92,7 @@ WidgetAssetBundle::register($this);
</div> </div>
</section> </section>
<div class="white-popup-block mfp-hide mfp-close-btn-in get-code-window"> <div class="white-popup-block mfp-hide">
<?= RegistrationWidget::widget(); ?> <?= RegistrationWidget::widget(); ?>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment