If no links are present, the template does not show the helpful links header.
This commit is contained in:
@ -149,5 +149,9 @@ block content
|
|||||||
$('.btn-twitter').attr('href', url);
|
$('.btn-twitter').attr('href', url);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
var MDNlinks = !{JSON.stringify(MDNlinks)};
|
||||||
|
if (!MDNlinks.length) {
|
||||||
|
$('#MDN-links').addClass('collapse');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user