From 7310960f464a13823244589620e6f634450690ce Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Fri, 4 Aug 2017 15:19:59 +0200 Subject: [PATCH] remove the hack around the hack to fix the hack --- customize.dist/pages.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 27a114c16..7c1548119 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -274,11 +274,9 @@ define([ if (showingMore) { $('.cp-more, .cp-callout-more-lessmsg').addClass('cp-hidden'); $('.cp-callout-more-moremsg').removeClass('cp-hidden'); - if ( $( window ).width() >991 ) $('.navbar').css('margin-top','-1em'); } else { $('.cp-more, .cp-callout-more-lessmsg').removeClass('cp-hidden'); $('.cp-callout-more-moremsg').addClass('cp-hidden'); - $('.navbar').css('margin-top','0'); } showingMore = !showingMore; }