[bugfix] Load instance-wide custom css unconditionally in thread details page

This commit is contained in:
CDN18 2024-12-03 17:35:33 +08:00
parent a597e1ed85
commit 685aef1ada
No known key found for this signature in database
GPG key ID: 0C656827F9F80080

View file

@ -124,6 +124,7 @@ func (m *Module) threadGETHandler(c *gin.Context) {
cssFA,
cssStatus,
cssThread,
instanceCustomCSSPath,
}...,
)
@ -131,7 +132,6 @@ func (m *Module) threadGETHandler(c *gin.Context) {
if theme := targetAccount.Theme; theme != "" {
stylesheets = append(
stylesheets,
instanceCustomCSSPath,
themesPathPrefix+"/"+theme,
)
}