[bugfix] Load instance-wide custom css unconditionally in thread details page (#3595)

This commit is contained in:
CDN 2024-12-03 22:21:47 +08:00 committed by GitHub
parent a597e1ed85
commit 732b03a742
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
)
}