(e)
| 681 | } |
| 682 | |
| 683 | toggleTab (e) { |
| 684 | this.renderScrollbar() |
| 685 | if (!($(document).width() <= 800)) { return } |
| 686 | const li = $(e.target).closest('li') |
| 687 | if (li.hasClass('active')) { |
| 688 | li.parent().find('li').show() |
| 689 | } else { |
| 690 | li.parent().find('li').hide() |
| 691 | li.show() |
| 692 | } |
| 693 | return console.log(li.hasClass('active')) |
| 694 | } |
| 695 | |
| 696 | onClickDocumentationTab (e) { |
| 697 | // It's either too late at night or something is going on with Bootstrap nested tabs, so we do the click instead of using .active. |