diff --git a/static/js/main.js b/static/js/main.js index 41d2630..7d70214 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -3,6 +3,7 @@ $(document).ready(function() { $('body').removeClass('no-js'); $('a.blog-button').click(function() { + $('.content-wrapper__inner').css('display', 'block'); if ($('.panel-cover').hasClass('panel-cover--collapsed')) return; currentWidth = $('.panel-cover').width(); if (currentWidth < 960) { @@ -16,10 +17,12 @@ $(document).ready(function() { if (window.location.hash && window.location.hash == "#blog") { $('.panel-cover').addClass('panel-cover--collapsed'); + $('.content-wrapper__inner').css('display', 'block') } if (window.location.pathname.substring(0, 5) == "/tag/") { $('.panel-cover').addClass('panel-cover--collapsed'); + $('.content-wrapper__inner').css('display', 'block') } $('.btn-mobile-menu').click(function() {