File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export default class Nav extends View {
38
38
this . $map = new Map ( ) ;
39
39
40
40
// Set up nav items - those with HREF # dispatch events
41
+ console . log ( 'subnav' , this . queryAll ( 'li a.nav-link' ) ) ;
41
42
this . queryAll ( 'li a.nav-link' ) . forEach ( ( elem ) => {
42
43
this . $set ( elem ) ;
43
44
} ) ;
@@ -64,7 +65,6 @@ export default class Nav extends View {
64
65
} else {
65
66
const navLink = new URL ( node . href ) . pathname . pathSplit ( ) . join ( '/' ) ;
66
67
if ( node . parentNode . id ) {
67
- console . log ( `set ${ navLink } ` ) ;
68
68
this . $map . set ( navLink , node . parentNode . id ) ;
69
69
}
70
70
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @djthorpe/js-framework" ,
3
- "version" : " 0.0.36 " ,
3
+ "version" : " 0.0.37 " ,
4
4
"description" : " Javascript Framework" ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments