Удаление телефона (очистка поля)
This commit is contained in:
@@ -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