1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-14 01:21:51 +03:00

Added experimental breadcrumb traversal

This commit is contained in:
Dan Brown
2019-02-24 15:57:35 +00:00
parent e70423c73f
commit 035a0d8efb
17 changed files with 296 additions and 11 deletions

View File

@ -6,7 +6,7 @@ class DropDown {
constructor(elem) {
this.container = elem;
this.menu = elem.querySelector('ul');
this.menu = elem.querySelector('ul, [dropdown-menu]');
this.toggle = elem.querySelector('[dropdown-toggle]');
this.setupListeners();
}