mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Load instance-wide custom css unconditionally in thread details page (#3595)
This commit is contained in:
@ -124,6 +124,7 @@ func (m *Module) threadGETHandler(c *gin.Context) {
|
|||||||
cssFA,
|
cssFA,
|
||||||
cssStatus,
|
cssStatus,
|
||||||
cssThread,
|
cssThread,
|
||||||
|
instanceCustomCSSPath,
|
||||||
}...,
|
}...,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -131,7 +132,6 @@ func (m *Module) threadGETHandler(c *gin.Context) {
|
|||||||
if theme := targetAccount.Theme; theme != "" {
|
if theme := targetAccount.Theme; theme != "" {
|
||||||
stylesheets = append(
|
stylesheets = append(
|
||||||
stylesheets,
|
stylesheets,
|
||||||
instanceCustomCSSPath,
|
|
||||||
themesPathPrefix+"/"+theme,
|
themesPathPrefix+"/"+theme,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user