From 7d3e9f0d6c2835e94b1947a978b7b26e04456405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20=C5=A0est=C3=A1k?= Date: Fri, 20 Oct 2023 18:44:27 +0200 Subject: [PATCH] Move script tag to the end, so that we show progress earlier --- project/PageGenerator.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/PageGenerator.scala b/project/PageGenerator.scala index b57bde4..f220a5d 100644 --- a/project/PageGenerator.scala +++ b/project/PageGenerator.scala @@ -107,7 +107,6 @@ object PageGenerator{ head( meta(charset := "utf-8"), link(rel := "stylesheet", `type`:="text/css", href:=s"../../$publicDirName/main.css"), - script(`type` := "text/javascript", src := s"../../$publicDirName/main.min.js"), meta(name := "viewport", content := "width=device-width, initial-scale=1.0, minimum-scale=1.0"), link(rel := "prefetch", href := csvFile), meta(attr("http-equiv") := "X-UA-Compatible", content := "IE=10; IE=9; IE=8; IE=7; IE=EDGE"), @@ -164,6 +163,7 @@ object PageGenerator{ ".", ), ), + script(`type` := "text/javascript", src := s"../../$publicDirName/main.min.js"), ), ) }