cosmopet--Memento-mori-dev
Kirill Pet 10 months ago
parent 3add6ebc02
commit fa143ef289
  1. 4
      assets/css/gp-style-tablet.css
  2. 7
      assets/js/_gp-function.js
  3. 1
      registration.html

@ -185,6 +185,9 @@ main{
transition: opacity .2s ease-out;
}
.cabinet-content{
pointer-events:none;
}
.cabinet__orders.active, .cabinet__profile.active{
opacity: 1;
@ -193,6 +196,7 @@ main{
.cabinet__orders.hide, .cabinet__profile.hide{
position: static;
display: block;
pointer-events:auto;
}
.cabinet__subscription-pc{
display: none;

@ -67,7 +67,12 @@ export function closeModalForm(close){
buttons.forEach(button => {
button.onclick = function (buttonEvent) {
modal.classList.remove('active');
modal.querySelector('.active').classList.remove('active');
if (!modal.querySelector('.modal-map.active')) {
modal.querySelector('.modal-form.active').classList.remove('active');
}else{
modal.querySelector('.modal-map.active').classList.remove('active');
}
}
})
}

@ -1139,5 +1139,6 @@
<script type="module" src="assets/js/gp-cabinet.js"></script>
<script src="assets/js/gp-form.js"></script>
</body>
</html>
Loading…
Cancel
Save