From b3174eeadf5e831c96adc6549ac52c5448678f7c Mon Sep 17 00:00:00 2001 From: "A. Drake" Date: Tue, 24 Mar 2015 01:24:06 -0400 Subject: [PATCH] If no links are present, the template does not show the helpful links header. --- views/bonfire/show.jade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/bonfire/show.jade b/views/bonfire/show.jade index 0fea3cd4b4..aed449bdb5 100644 --- a/views/bonfire/show.jade +++ b/views/bonfire/show.jade @@ -149,5 +149,9 @@ block content $('.btn-twitter').attr('href', url); } ); + var MDNlinks = !{JSON.stringify(MDNlinks)}; + if (!MDNlinks.length) { + $('#MDN-links').addClass('collapse'); + }