From d4de2ef73977826b548aa97516efb84a56c02d6e Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 29 Nov 2023 15:41:45 +0300 Subject: [PATCH] 0.8.416 --- static/css/styles(boris).css | 1 - static/js/user_profile.js | 6 +++--- static/js/user_profile_2.js | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 16f1488..6edd537 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -937,7 +937,6 @@ display: flex; padding: 13px; position: relative; - z-index: 1000; } .container_form_search_carrier > form{ diff --git a/static/js/user_profile.js b/static/js/user_profile.js index eab4757..0e47f41 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -265,7 +265,6 @@ function searchTown(el){ } if(el.value.length>=3){ - let timer = null if (timer) { clearTimeout(timer); @@ -296,7 +295,7 @@ function searchTown(el){ success: function(data){ el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center'; loader_place_ins_boris(el,"el") - + document.querySelector(".container_form_search_carrier").style.zIndex = '10000000000' return insertSearchList(data, el.name + '_list'); middleWareJS() @@ -330,7 +329,7 @@ function selectItemAddrPoint(id, name, ctrl_name,){ tap_cont.value = id; changeWidthEL(tap_txt_cont) input_list.classList.remove('show'); - + document.querySelector(".container_form_search_carrier").style.zIndex = 'unset' } @@ -375,6 +374,7 @@ function onblurInputField(event,el){ if(!parent_event || parent_event[0] !== search_list){ search_list.classList.remove('show') + document.querySelector(".container_form_search_carrier").style.zIndex = 'unset' } // } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 84c2e29..c173137 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -497,7 +497,8 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){ document.querySelector(".info_profile").innerHTML = data.html; document.querySelector(".enter-message-inp").focus() - document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'}); + document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'у' + + ' end',inline:'end'}); // if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){ // let menu = document.querySelector(".menu_buttons.curtain.left") // let container_user_messenger = document.querySelector(".container-messenger")