Удаление телефона (очистка поля)
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.x-icn::before {
|
||||
font-family: 'Font Awesome\ 5 Free';
|
||||
content: "\f00d";
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.m-off::before{
|
||||
margin: 0px !important;
|
||||
}
|
||||
@@ -370,6 +370,10 @@ $(document).ready(function(){
|
||||
});
|
||||
});
|
||||
|
||||
$('#clear_tel').click(function(){
|
||||
phoneStr = '';
|
||||
phoneInput.value = formatPhoneString();
|
||||
})
|
||||
|
||||
|
||||
|
||||
@@ -412,7 +416,7 @@ $(document).ready(function(){
|
||||
else
|
||||
deleteMode = false;
|
||||
});
|
||||
7
|
||||
|
||||
phoneInput.addEventListener('input', (e) => {
|
||||
if (deleteMode) {
|
||||
phoneInput.value = phoneInput.value;
|
||||
|
||||
Reference in New Issue
Block a user