| assets/js/index.js | ●●●●● patch | view | raw | blame | history |
assets/js/index.js
@@ -109,7 +109,7 @@ tocItems.forEach(function(item){ pushClass(item, 'toc_item'); pushClass(item.firstElementChild, 'toc_link'); }) }); } }); @@ -143,12 +143,14 @@ } const paragraphs = elems('p'); if (paragraphs) { paragraphs.forEach(function(p){ const buttons = elems('.button', p); if(buttons.length > 1) { pushClass(p, 'button_grid'); } }); } })(); (function markExternalLinks(){ @@ -378,7 +380,7 @@ } else { deleteClass(toTop, active); } }) }); })(); }