now loading scripts before content
This commit is contained in:
parent
823d00ba8e
commit
259976d927
1 changed files with 2 additions and 2 deletions
|
@ -169,8 +169,8 @@ instance Yesod App where
|
|||
-- Generate a unique filename based on the content itself
|
||||
genFileName lbs = "autogen-" ++ base64md5 lbs
|
||||
|
||||
-- Place Javascript at bottom of the body tag so the rest of the page loads first
|
||||
jsLoader _ = BottomOfBody
|
||||
-- Place Javascript at head so scripts become loaded before content
|
||||
jsLoader _ = BottomOfHeadBlocking
|
||||
|
||||
-- What messages should be logged. The following includes all messages when
|
||||
-- in development, and warnings and errors in production.
|
||||
|
|
Loading…
Reference in a new issue