summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-22 15:42:11 +0800
committerWu Cheng-Han2017-03-22 15:42:11 +0800
commit9ff3649025ec0c811e013fbf9585c93d38a6fbfb (patch)
tree9dea17bf69dd0aa52957f6770426f10ea33fd3e1 /public/js
parente751684aa3b144f46ab7e16360a54356c2f555a8 (diff)
Fix unnecessary global calling of ownerui
Diffstat (limited to 'public/js')
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index 9dd78535..ffd95a27 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -67,7 +67,7 @@ window.owner = null
window.ownerprofile = null
export function updateOwner () {
- if (window.ownerui) {
+ if (ownerui) {
if (window.owner && window.ownerprofile && window.owner !== window.lastchangeuser) {
const icon = ownerui.children('i')
icon.attr('title', window.ownerprofile.name).tooltip('fixTitle')