From 9d47f4c2bcc2db31afc276a82d51a43a42cb9c94 Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 31 Jan 2024 14:40:11 +0300 Subject: [PATCH] 5 --- static/js/global_js.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/global_js.js b/static/js/global_js.js index 748fbc9..86159de 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -11,6 +11,9 @@ window.onload = function (){ middleWareJS() openOrCloseCurtainSupportChat() openOverlayOrClose() + let height = window.innerHeight + document.querySelector('body').style.maxHeight = height + 'px' + document.querySelector('body').style.height = height + 'px' if (window.location.href.includes('profile') && !window.location.href.includes('login') && !window.location.href.includes('registration')){ let user_type = getInfoAboutUser() if (user_type === 'mobile') {