Skip to content

Commit

Permalink
Move script tag to the end, so that we show progress earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Oct 20, 2023
1 parent 1eefa45 commit 7d3e9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/PageGenerator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -164,6 +163,7 @@ object PageGenerator{
".",
),
),
script(`type` := "text/javascript", src := s"../../$publicDirName/main.min.js"),
),
)
}
Expand Down

0 comments on commit 7d3e9f0

Please sign in to comment.