Fix ownership display
This commit is contained in:
parent
8a6147c12b
commit
b5f42807b9
2 changed files with 2 additions and 4 deletions
|
@ -48,8 +48,8 @@ function updateLastChangeUser() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var owner = null;
|
window.owner = null;
|
||||||
var ownerprofile = null;
|
window.ownerprofile = null;
|
||||||
function updateOwner() {
|
function updateOwner() {
|
||||||
if (ownerui) {
|
if (ownerui) {
|
||||||
if (owner && ownerprofile && owner !== lastchangeuser) {
|
if (owner && ownerprofile && owner !== lastchangeuser) {
|
||||||
|
@ -1080,7 +1080,6 @@ module.exports = {
|
||||||
generateToc: generateToc,
|
generateToc: generateToc,
|
||||||
smoothHashScroll: smoothHashScroll,
|
smoothHashScroll: smoothHashScroll,
|
||||||
scrollToHash: scrollToHash,
|
scrollToHash: scrollToHash,
|
||||||
owner: owner,
|
|
||||||
updateLastChangeUser: updateLastChangeUser,
|
updateLastChangeUser: updateLastChangeUser,
|
||||||
updateOwner: updateOwner,
|
updateOwner: updateOwner,
|
||||||
parseMeta: parseMeta,
|
parseMeta: parseMeta,
|
||||||
|
|
|
@ -48,7 +48,6 @@ var renderTOC = extra.renderTOC;
|
||||||
var renderTitle = extra.renderTitle;
|
var renderTitle = extra.renderTitle;
|
||||||
var renderFilename = extra.renderFilename;
|
var renderFilename = extra.renderFilename;
|
||||||
var scrollToHash = extra.scrollToHash;
|
var scrollToHash = extra.scrollToHash;
|
||||||
var owner = extra.owner;
|
|
||||||
var updateLastChangeUser = extra.updateLastChangeUser;
|
var updateLastChangeUser = extra.updateLastChangeUser;
|
||||||
var updateOwner = extra.updateOwner;
|
var updateOwner = extra.updateOwner;
|
||||||
var parseMeta = extra.parseMeta;
|
var parseMeta = extra.parseMeta;
|
||||||
|
|
Loading…
Reference in a new issue