diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 61c53b3..9b0fe54 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -165,7 +165,7 @@ function confirmRemove(el) { function searchTown(el){ - if(el.textLength>=3){ + if(el.value.length>=3){ let timer = null if (timer) { clearTimeout(timer);