Skip to content

Commit 04c4e85

Browse files
committed
v37
1 parent 436c646 commit 04c4e85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/nav.js

+1-1
Original file line numberDiff line numberDiff 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
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)