Oops, missed this one, there are some changes not ready for prime time here, so I overlooked it.

This commit is contained in:
Azareal 2019-04-25 16:22:29 +10:00
parent d0e40ae81b
commit 2964cd767d
1 changed files with 3 additions and 0 deletions

View File

@ -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 {