diff options
author | Yukai Huang | 2016-10-13 23:29:25 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 23:29:25 +0800 |
commit | b5f42807b9ad94e362224a4247b656ad3a2d1792 (patch) | |
tree | 7d545404a41cb51c02e13b9b3f18a2d53e12ef07 /public/js/extra.js | |
parent | 8a6147c12b0d9fcf2c2abe02ea58590c40593141 (diff) |
Fix ownership display
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index 7cae068e..bf2c7231 100644 --- a/public/js/extra.js +++ b/public/js/extra.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, |