From ac67d710c8d1573588b150bd9ebfbfda1cfcd4bf Mon Sep 17 00:00:00 2001 From: Seednode Date: Wed, 9 Nov 2022 21:25:04 -0600 Subject: [PATCH] Moved javascript after img tag --- cmd/web.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/web.go b/cmd/web.go index 97f5eff..1f8a09a 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -209,28 +209,28 @@ func serveHtml(w http.ResponseWriter, r *http.Request, filePath, dimensions stri htmlBody += ` -` + ` if refreshInterval != "0" { r, err := strconv.Atoi(refreshInterval) if err != nil { return err } refreshTimer := strconv.Itoa(r * 1000) - htmlBody += ` -` + htmlBody += ` ` } - htmlBody += ` + htmlBody += ` `