summaryrefslogtreecommitdiff
path: root/public/js/extra.js
diff options
context:
space:
mode:
authorYukai Huang2016-10-13 23:29:25 +0800
committerYukai Huang2016-10-13 23:29:25 +0800
commitb5f42807b9ad94e362224a4247b656ad3a2d1792 (patch)
tree7d545404a41cb51c02e13b9b3f18a2d53e12ef07 /public/js/extra.js
parent8a6147c12b0d9fcf2c2abe02ea58590c40593141 (diff)
Fix ownership display
Diffstat (limited to 'public/js/extra.js')
-rw-r--r--public/js/extra.js5
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,