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

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,

View file

@ -48,7 +48,6 @@ var renderTOC = extra.renderTOC;
var renderTitle = extra.renderTitle;
var renderFilename = extra.renderFilename;
var scrollToHash = extra.scrollToHash;
var owner = extra.owner;
var updateLastChangeUser = extra.updateLastChangeUser;
var updateOwner = extra.updateOwner;
var parseMeta = extra.parseMeta;