From 9ff3649025ec0c811e013fbf9585c93d38a6fbfb Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Wed, 22 Mar 2017 15:42:11 +0800 Subject: Fix unnecessary global calling of ownerui --- public/js/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3