Skip to content

Commit

Permalink
bug fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
girobusan committed Oct 31, 2022
1 parent 26473ca commit 9c88748
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/mdsite.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "md-site",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
2 changes: 1 addition & 1 deletion src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ window.MDS = {
setMenu: (p)=>{

const sidebarNode = document.getElementById("menu");
getContent(window.MDS.makePath(window.MDS.menuFile))
getContent(window.MDS.makePath(window.MDS.settings.menuFile))
.then(r=>{sidebarNode.innerHTML=r.html})
.catch( e=>console.log( "no sidebar" ,e ))
}
Expand Down

0 comments on commit 9c88748

Please sign in to comment.