mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
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