If no links are present, the template does not show the helpful links header.

This commit is contained in:
A. Drake
2015-03-24 01:24:06 -04:00
parent c4624b7f20
commit b3174eeadf

View File

@ -149,5 +149,9 @@ block content
$('.btn-twitter').attr('href', url);
}
);
var MDNlinks = !{JSON.stringify(MDNlinks)};
if (!MDNlinks.length) {
$('#MDN-links').addClass('collapse');
}