diff --git a/static/js/global_js.js b/static/js/global_js.js index 86159de..029c3ff 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -39,6 +39,12 @@ window.onload = function (){ } // +$(window).on('resize',function (){ + let height = window.innerHeight + $('body')[0].style.maxHeight = height + 'px' + $('body')[0].style.height = height + 'px' +}) + function middleWareJS(){ let footer = document.querySelector("footer") let body = document.querySelector("body")