mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -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
|
window.ownerprofile = null
|
||||||
|
|
||||||
export function updateOwner () {
|
export function updateOwner () {
|
||||||
if (window.ownerui) {
|
if (ownerui) {
|
||||||
if (window.owner && window.ownerprofile && window.owner !== window.lastchangeuser) {
|
if (window.owner && window.ownerprofile && window.owner !== window.lastchangeuser) {
|
||||||
const icon = ownerui.children('i')
|
const icon = ownerui.children('i')
|
||||||
icon.attr('title', window.ownerprofile.name).tooltip('fixTitle')
|
icon.attr('title', window.ownerprofile.name).tooltip('fixTitle')
|
||||||
|
|
Loading…
Reference in a new issue