From 732b03a742c59d425fcfbb726ddf529c9d3417e2 Mon Sep 17 00:00:00 2001 From: CDN Date: Tue, 3 Dec 2024 22:21:47 +0800 Subject: [PATCH] [bugfix] Load instance-wide custom css unconditionally in thread details page (#3595) --- internal/web/thread.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/thread.go b/internal/web/thread.go index 246c05b97..557e00381 100644 --- a/internal/web/thread.go +++ b/internal/web/thread.go @@ -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, ) }