Add navbar documentation

This commit is contained in:
Jeremy Thomas
2017-07-02 22:07:30 +01:00
parent d5372f08af
commit 45a31d7b86
9 changed files with 742 additions and 68 deletions

View File

@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
var expand = '<button class="expand">Expand</button>';
$el.insertAdjacentHTML('beforeend', copy);
if ($el.firstElementChild.scrollHeight > 600) {
if ($el.firstElementChild.scrollHeight > 320) {
$el.insertAdjacentHTML('beforeend', expand);
}