diff --git a/static/abaev.js b/static/abaev.js index 636c7d3..01cae1b 100644 --- a/static/abaev.js +++ b/static/abaev.js @@ -69,8 +69,8 @@ $( document ).ready(function() { // $("#leftbar")[0].style.paddingLeft = "10px"; $("main")[0].style.marginLeft = "250px"; - $("header")[0].style.marginLeft = "250px"; - $("footer")[0].style.marginLeft = "250px"; + $("header nav")[0].style.marginLeft = "250px"; + $("footer nav")[0].style.marginLeft = "250px"; $("#open-leftbar").hide(); $("#close-leftbar").show(); @@ -82,8 +82,8 @@ $( document ).ready(function() { $("#leftbar").hide(); // $("#leftbar")[0].style.paddingLeft = null; $("main")[0].style.marginLeft = null; - $("header")[0].style.marginLeft = null; - $("footer")[0].style.marginLeft = null; + $("header nav")[0].style.marginLeft = null; + $("footer nav")[0].style.marginLeft = null; $("#open-leftbar").show(); $("#close-leftbar").hide(); })