mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-24 16:33:32 -06:00
[chore/frontend] Reorder JS a little bit to avoid visible text changes
This commit is contained in:
parent
a87be80c90
commit
ec4241bb3d
6 changed files with 135 additions and 116 deletions
|
|
@ -249,7 +249,7 @@ func (m *Module) profileMicroblog(c *gin.Context, p *profile) {
|
|||
},
|
||||
{
|
||||
Bottom: true,
|
||||
Src: jsBlurhash,
|
||||
Src: jsFrontendPrerender,
|
||||
},
|
||||
},
|
||||
Extra: map[string]any{
|
||||
|
|
@ -323,7 +323,7 @@ func (m *Module) profileGallery(c *gin.Context, p *profile) {
|
|||
},
|
||||
{
|
||||
Bottom: true,
|
||||
Src: jsBlurhash,
|
||||
Src: jsFrontendPrerender,
|
||||
},
|
||||
},
|
||||
Extra: map[string]any{
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ func (m *Module) threadGETHandler(c *gin.Context) {
|
|||
},
|
||||
{
|
||||
Bottom: true,
|
||||
Src: jsBlurhash,
|
||||
Src: jsFrontendPrerender,
|
||||
},
|
||||
},
|
||||
Extra: map[string]any{
|
||||
|
|
|
|||
|
|
@ -67,9 +67,9 @@ const (
|
|||
cssSettings = distPathPrefix + "/settings-style.css"
|
||||
cssTag = distPathPrefix + "/tag.css"
|
||||
|
||||
jsFrontend = distPathPrefix + "/frontend.js" // Progressive enhancement frontend JS.
|
||||
jsBlurhash = distPathPrefix + "/blurhash.js" // Blurhash rendering JS.
|
||||
jsSettings = distPathPrefix + "/settings.js" // Settings panel React application.
|
||||
jsFrontend = distPathPrefix + "/frontend.js" // Progressive enhancement frontend JS.
|
||||
jsFrontendPrerender = distPathPrefix + "/frontend_prerender.js" // Frontend JS that should run before page renders.
|
||||
jsSettings = distPathPrefix + "/settings.js" // Settings panel React application.
|
||||
)
|
||||
|
||||
type Module struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue