summaryrefslogtreecommitdiff
path: root/src/mulk/benki/wiki.clj
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 02:11:01 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 02:11:01 +0100
commitddafd8ec54645144768b3edd2e50c264f2d19694 (patch)
tree9f9b71b1a717ed9e34601ecd38163cc4e2c9a602 /src/mulk/benki/wiki.clj
parent4199a922e578a008d455bd36cd166f7f05a7d7b5 (diff)
Move most <script/> tags to the bottom of pages.
Diffstat (limited to 'src/mulk/benki/wiki.clj')
-rw-r--r--src/mulk/benki/wiki.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mulk/benki/wiki.clj b/src/mulk/benki/wiki.clj
index 29e99ce..ad29807 100644
--- a/src/mulk/benki/wiki.clj
+++ b/src/mulk/benki/wiki.clj
@@ -48,7 +48,9 @@
;; Aloha Editor
(list
[:link {:rel "stylesheet"
- :href (resolve-uri "/3rdparty/alohaeditor/aloha/css/aloha.css")}]
+ :href (resolve-uri "/3rdparty/alohaeditor/aloha/css/aloha.css")}])
+ :bottom
+ (list
[:script {:type "text/javascript"
:src (resolve-uri "/3rdparty/alohaeditor/aloha/lib/aloha.js")
:data-aloha-plugins "common/format,common/highlighteditables,common/list,common/link,common/undo,common/paste,common/block,common/table"}]