Skip to content

Commit 8b0ec6a

Browse files
committed
Update nav
1 parent 5215c3b commit 8b0ec6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

js/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class Nav extends View {
4242
if (!hrefattr || hrefattr === '#') {
4343
node.addEventListener('click', (evt) => {
4444
evt.preventDefault();
45-
evt.cancelPropogation();
45+
evt.stopPropagation();
4646
this.dispatchEvent(EVENT_CLICK, this, node.parentNode);
4747
});
4848
} else {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@djthorpe/js-framework",
3-
"version": "0.0.16",
4-
"description": "Javascript UI Framework",
3+
"version": "0.0.17",
4+
"description": "Javascript Framework",
55
"main": "dist/js/index.js",
66
"scripts": {
77
"all": "npm-run-all lint build docs",

0 commit comments

Comments
 (0)