diff --git a/assets/js/_gp-function.js b/assets/js/gp-function.js similarity index 100% rename from assets/js/_gp-function.js rename to assets/js/gp-function.js diff --git a/subscription-first.html b/subscription-first.html index 1381936..7a49ec9 100644 --- a/subscription-first.html +++ b/subscription-first.html @@ -49,7 +49,6 @@ -
-
+
+ +
@@ -484,7 +503,7 @@ @@ -510,11 +529,6 @@
- - -
- -
@@ -660,13 +674,32 @@ + fun.modalFormOpen('.form-open'); + fun.closeModalForm('.modal-form__close'); + fun.closeModalForm('.modal-form__button-close'); + + let modal = document.querySelector('.modal'); + modal.onclick = function (eventModal) { + let thisTarget = eventModal.target; + + if (thisTarget.classList.contains('modal')) { + thisTarget.classList.remove('active'); + + if (!thisTarget.querySelector('.modal-map.active')) { + thisTarget.querySelector('.modal-form.active').classList.remove('active'); + }else{ + thisTarget.querySelector('.modal-map.active').classList.remove('active'); + } + } + } + diff --git a/subscription-last.html b/subscription-last.html index 6a19da5..e9c7e64 100644 --- a/subscription-last.html +++ b/subscription-last.html @@ -537,7 +537,7 @@ @@ -549,7 +549,7 @@ @@ -727,13 +727,32 @@ - diff --git a/subscription-order.html b/subscription-order.html index 4d6d66c..9808338 100644 --- a/subscription-order.html +++ b/subscription-order.html @@ -49,7 +49,6 @@ -
-
- - +
-
-
- - - -
+ - +
@@ -298,18 +304,35 @@
-

Мои адреса

- -
-

Курьер

-

Не заполнено

+
+
+
+ +
+
- +

Барон

-
-
@@ -847,8 +870,16 @@
+ + + \ No newline at end of file