From 2964cd767d76b01f9abd3455664d72ada528d9ec Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 25 Apr 2019 16:22:29 +1000 Subject: [PATCH] Oops, missed this one, there are some changes not ready for prime time here, so I overlooked it. --- routes/common.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/common.go b/routes/common.go index b171d3de..da7c18d5 100644 --- a/routes/common.go +++ b/routes/common.go @@ -120,6 +120,9 @@ func renderTemplate3(tmplName string, hookName string, w http.ResponseWriter, r header.OGDesc = header.MetaDesc } header.AddScript("global.js") + if header.CurrentUser.Loggedin { + header.AddScriptAsync("member.js") + } FootHeaders(w, header) if header.CurrentUser.IsAdmin {