summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-11-13 13:30:49 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-11-13 13:30:49 +0100
commit874adb111f9c95216bdb4c04eb8cde3c5201848b (patch)
tree74fe23f293054a93546f1b64ffed1073f448f3c2 /src
parenta296b2c77a3d3f156626a446667f5244a7e892ea (diff)
Defer loading of Persona scripts.
Diffstat (limited to 'src')
-rw-r--r--src/mulk/benki/util.clj6
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")}]