mirror of https://github.com/status-im/codimd.git
Fix unnecessary global calling of ownerui
This commit is contained in:
parent
e751684aa3
commit
9ff3649025
|
@ -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 New Issue