diff --git a/js/main.js b/js/main.js index 1cb1b37334..9be34dd181 100755 --- a/js/main.js +++ b/js/main.js @@ -3,6 +3,7 @@ layout: null --- $(document).ready(function () { $('a.blog-button').click(function (e) { + $('.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 !== '{{ site.baseurl }}' && window.location.pathname !== '{{ site.baseurl }}index.html') { $('.panel-cover').addClass('panel-cover--collapsed') + $('.content-wrapper__inner').css('display', 'block') } $('.btn-mobile-menu').click(function () {