summaryrefslogtreecommitdiff
path: root/xhtml11.conf
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-04-22 22:24:11 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-04-22 22:24:11 +1200
commit2c78d5ca0db3e9319f1341ef5b44264bde1b1318 (patch)
treed23cc6551333333129680e40b7140565ce7dc6a5 /xhtml11.conf
parent4e1c18ea59c8d13e0e870ff93c19f04e62af7eb4 (diff)
downloadasciidoc-2c78d5ca0db3e9319f1341ef5b44264bde1b1318.tar.gz
Changed order of JavaScript loading to ensure latency patch works with linked
JavaScript. See: http://groups.google.com/group/asciidoc/browse_thread/thread/5a7fe64fbfd65ad
Diffstat (limited to 'xhtml11.conf')
-rw-r--r--xhtml11.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/xhtml11.conf b/xhtml11.conf
index 3c9c6aa..61c23cc 100644
--- a/xhtml11.conf
+++ b/xhtml11.conf
@@ -555,13 +555,13 @@ endif::pygments[]
endif::linkcss[]
ifndef::disable-javascript[]
ifdef::linkcss[]
+<script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
<script type="text/javascript">
# Escape as CDATA to pass validators.
/*<![CDATA[*/
asciidoc.install({toc?{toclevels}});
/*]]>*/
</script>
-<script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
endif::linkcss[]
ifndef::linkcss[]
<script type="text/javascript">