mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
Fix ownership display
This commit is contained in:
parent
8a6147c12b
commit
b5f42807b9
2 changed files with 2 additions and 4 deletions
public/js
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue