summaryrefslogtreecommitdiff
path: root/public/js/extra.js
diff options
context:
space:
mode:
authorMax Wu2016-10-14 00:14:25 +0800
committerGitHub2016-10-14 00:14:25 +0800
commitadb3666d13ba8ff63cba0a395d1bd9819e6ea1ea (patch)
tree11ea1ea5b3a1e4baf8aae1e5b75cd3aa09ff90ed /public/js/extra.js
parent8a6147c12b0d9fcf2c2abe02ea58590c40593141 (diff)
parente4515958cd4fc6eb7a39bc2b0294de07d7c7291a (diff)
Merge pull request #205 from Yukaii/webpack-fix-cont
Fix minor bugs (cont.)
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,