fix 17.11
This commit is contained in:
@@ -82,6 +82,8 @@
|
||||
font-size: 12px;
|
||||
line-height: 133%;
|
||||
color: var(--text-black);
|
||||
|
||||
text-decoration: none;
|
||||
}
|
||||
.order-your-products__description{
|
||||
margin-top: 8px;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user