diff options
author | Wu Cheng-Han | 2017-03-22 15:42:11 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-22 15:42:11 +0800 |
commit | 9ff3649025ec0c811e013fbf9585c93d38a6fbfb (patch) | |
tree | 9dea17bf69dd0aa52957f6770426f10ea33fd3e1 | |
parent | e751684aa3b144f46ab7e16360a54356c2f555a8 (diff) |
Fix unnecessary global calling of ownerui
-rw-r--r-- | public/js/extra.js | 2 |
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') |