Fix unnecessary global calling of ownerui
This commit is contained in:
parent
e751684aa3
commit
9ff3649025
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue