This commit is contained in:
Westly Wright committed 2018-04-24 16:35:40 -07:00
1 parent 56d0654a8d
commit 031f136217
1 file changed
+2 -2
+2 -2
View File
@@ -189,12 +189,12 @@ const bootstrapNav = function () {
let target = e.target;
if (!target.href) {
let sub = $(e.currentTarget).find('>ul.tree-nav-sublist');
// stop it from affecting other nodes
e.preventDefault();
e.stopPropagation();
let sub = $(e.currentTarget).find('>ul.tree-nav-sublist')// || $(e.target).next('ul.tree-nav-sublist');
if (sub.length > 0) {
sub.toggleClass('hide');