Skip to content

Commit

Permalink
fix issue 10
Browse files Browse the repository at this point in the history
  • Loading branch information
D0n9X1n committed Dec 6, 2016
1 parent 1bbbaf0 commit df6f292
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
##BUG
1.~~hexo g will not work when the config file with no blogs block.~~
2.~~if blog content has special character, it will crush.~~
3.~~if no toc div the decrypt will throw a exception.~~
6 changes: 5 additions & 1 deletion lib/mcommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ function decryptAES() {
document.getElementById("encrypt-message").style.display = "none";

document.getElementById("security").style.display = "none";
document.getElementById("toc-div").style.display = "inline";

if (document.getElementById("toc-div")) {
document.getElementById("toc-div").style.display = "inline";
}
}
} catch (e) {
alert("密码错误!!");
console.log(e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.1.8"
"version": "1.1.9"
}

0 comments on commit df6f292

Please sign in to comment.