Fix ownership display

This commit is contained in:
Yukai Huang 2016-10-13 23:29:25 +08:00
parent 8a6147c12b
commit b5f42807b9
2 changed files with 2 additions and 4 deletions
public/js

View file

@ -48,8 +48,8 @@ function updateLastChangeUser() {
}
}
var owner = null;
var ownerprofile = null;
window.owner = null;
window.ownerprofile = null;
function updateOwner() {
if (ownerui) {
if (owner && ownerprofile && owner !== lastchangeuser) {
@ -1080,7 +1080,6 @@ module.exports = {
generateToc: generateToc,
smoothHashScroll: smoothHashScroll,
scrollToHash: scrollToHash,
owner: owner,
updateLastChangeUser: updateLastChangeUser,
updateOwner: updateOwner,
parseMeta: parseMeta,