File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
3838 this . $map = new Map ( ) ;
3939
4040 // Set up nav items - those with HREF # dispatch events
41+ console . log ( 'subnav' , this . queryAll ( 'li a.nav-link' ) ) ;
4142 this . queryAll ( 'li a.nav-link' ) . forEach ( ( elem ) => {
4243 this . $set ( elem ) ;
4344 } ) ;
@@ -64,7 +65,6 @@ export default class Nav extends View {
6465 } else {
6566 const navLink = new URL ( node . href ) . pathname . pathSplit ( ) . join ( '/' ) ;
6667 if ( node . parentNode . id ) {
67- console . log ( `set ${ navLink } ` ) ;
6868 this . $map . set ( navLink , node . parentNode . id ) ;
6969 }
7070 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @djthorpe/js-framework" ,
3- "version" : " 0.0.36 " ,
3+ "version" : " 0.0.37 " ,
44 "description" : " Javascript Framework" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments