mirror of https://github.com/status-im/codimd.git
Fix ownership display
This commit is contained in:
parent
8a6147c12b
commit
b5f42807b9
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue