diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 4d33ed2..f27f32c 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -412,10 +412,14 @@ function clearID(el) { if(el.value !== "" && el.id === 'id_from_address_point_txt' ){ document.getElementById('id_from_address_point').value = '' - el.classList.add('red_text') + el.value = '' + // el.classList.add('red_text') } else if(el.value !== "" && el.id === 'id_to_address_point_txt'){ document.getElementById('id_to_address_point').value = '' - el.classList.add('red_text') + el.value = '' + + + // el.classList.add('red_text') } }