diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js index adb1c4dd2fcdc..71a24f1f24e24 100644 --- a/core/js/public/publicpage.js +++ b/core/js/public/publicpage.js @@ -21,6 +21,9 @@ */ window.addEventListener('DOMContentLoaded', function () { + + //dynamically changes footer size depending on presence of links + if(document.querySelectorAll("a.legal").length > 0) document.getElementById("body-public").querySelector('footer').style = 'height: 95px' $('#body-public').find('.header-right .menutoggle').click(function() { $(this).next('.popovermenu').toggleClass('open');