diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-11-13 13:30:49 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-11-13 13:30:49 +0100 |
commit | 874adb111f9c95216bdb4c04eb8cde3c5201848b (patch) | |
tree | 74fe23f293054a93546f1b64ffed1073f448f3c2 /src | |
parent | a296b2c77a3d3f156626a446667f5244a7e892ea (diff) |
Defer loading of Persona scripts.
Diffstat (limited to 'src')
-rw-r--r-- | src/mulk/benki/util.clj | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mulk/benki/util.clj b/src/mulk/benki/util.clj index 19575c3..a5ee164 100644 --- a/src/mulk/benki/util.clj +++ b/src/mulk/benki/util.clj @@ -58,9 +58,11 @@ [:script {:type "text/javascript" :src (resolve-uri "/3rdparty/jquery/jquery-1.7.min.js")}] [:script {:type "text/javascript" - :src "https://login.persona.org/include.js"}] + :src "https://login.persona.org/include.js" + :defer "defer"}] [:script {:type "text/javascript" - :src (resolve-uri "/js/browserid.js")}] + :src (resolve-uri "/js/browserid.js") + :defer "defer"}] [:link {:type "text/css" :rel "stylesheet" :href (resolve-uri "/style/benki.css")}] |