diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 3416a0a..130592f 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -757,10 +757,10 @@ function RequestCommercialOffer (el){ function counterText(evt) { - const ta = document.querySelector('.feedback_form_message') - const counter = document.querySelector('.counter-text__current') - const text_l = evt.target.value.length - counter.innerText = text_l + const counter = document.querySelector('.counter-text__current'); + const maxlength = 360; + counter.textContent = evt.value.length; + } diff --git a/templates/blocks/static_pages_blocks/b_about_service.html b/templates/blocks/static_pages_blocks/b_about_service.html index 8d2f680..e280697 100644 --- a/templates/blocks/static_pages_blocks/b_about_service.html +++ b/templates/blocks/static_pages_blocks/b_about_service.html @@ -102,14 +102,16 @@