diff --git a/assets/css/gp-style-order.css b/assets/css/gp-style-order.css index 68d5740..0646b9b 100644 --- a/assets/css/gp-style-order.css +++ b/assets/css/gp-style-order.css @@ -82,6 +82,8 @@ font-size: 12px; line-height: 133%; color: var(--text-black); + + text-decoration: none; } .order-your-products__description{ margin-top: 8px; diff --git a/assets/js/gp-form.js b/assets/js/gp-form.js index a9d3bf0..b6b9391 100644 --- a/assets/js/gp-form.js +++ b/assets/js/gp-form.js @@ -239,4 +239,20 @@ function inputPhoneNoFlag(input){ }) }) +} + + +inputCheck('.form-agreement__check'); + +function inputCheck(className) { + let checks = document.querySelectorAll(className); + + checks.forEach(check => { + let square = check.querySelector('.form-agreement__square'), + input = check.querySelector('input'); + + square.onclick = function () { + input.click(); + } + }) } \ No newline at end of file diff --git a/order.html b/order.html index 289f4b3..a9553a2 100644 --- a/order.html +++ b/order.html @@ -238,11 +238,11 @@ -
+ @@ -267,7 +267,7 @@ @@ -395,7 +395,7 @@
-

Сухой корм, для крупных и средних пород

+ Сухой корм, для крупных и средних пород

Индейка, 2 кг

@@ -415,7 +415,7 @@
-

Сухой корм, для крупных и средних пород

+ Сухой корм, для крупных и средних пород

Индейка, 2 кг

@@ -435,7 +435,7 @@
-

Сухой корм, для крупных и средних пород

+ Сухой корм, для крупных и средних пород

Индейка, 2 кг1

@@ -453,7 +453,7 @@
- + @@ -481,9 +481,7 @@
- +
@@ -596,35 +594,35 @@