Add show code

This commit is contained in:
Jeremy Thomas
2017-10-09 12:27:08 +01:00
parent 2c15a21f41
commit 8d6a0a43dc
4 changed files with 252 additions and 2 deletions

View File

@@ -143,11 +143,19 @@ document.addEventListener('DOMContentLoaded', () => {
});
});
<<<<<<< HEAD
const $highlightShows = getAll('.highlight .bd-show');
$highlightShows.forEach($el => {
$el.addEventListener('click', () => {
$el.parentNode.parentNode.classList.remove('bd-is-more-clipped');
=======
const $highlightShows = getAll('.bd-highlight-clipped .bd-show');
$highlightShows.forEach($el => {
$el.addEventListener('click', () => {
$el.parentNode.classList.remove('bd-is-clipped');
>>>>>>> Add show code
});
});
}