From b5f42807b9ad94e362224a4247b656ad3a2d1792 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Thu, 13 Oct 2016 23:29:25 +0800 Subject: Fix ownership display --- public/js/extra.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'public/js/extra.js') 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, -- cgit v1.2.3