aboutsummaryrefslogtreecommitdiff
path: root/tools/template.html
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-15 16:09:58 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-15 16:10:59 -0800
commitc74b87f9bbdf8a147b892bd0ac48dbd01a0297cf (patch)
treed0a5afd78aaec02978491e54aeb1841b7eb05551 /tools/template.html
parent75007b20b4071ad4c6f7168b98c3218739693769 (diff)
Fixed (interact) link in template.html.
This broke when we switched from pandoc to cmark for the spec, because the class on code changed from 'markdown' to 'language-markdown'.
Diffstat (limited to 'tools/template.html')
-rw-r--r--tools/template.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/template.html b/tools/template.html
index a5cc081..10bbdb5 100644
--- a/tools/template.html
+++ b/tools/template.html
@@ -71,13 +71,13 @@ a.footnoteRef > sup {
<script type="text/javascript">
$$(document).ready(function() {
$$("div.example").each(function(e) {
- var t = $$(this).find('code.markdown').text();
+ var t = $$(this).find('code.language-markdown').text();
$$(this).find('a.dingus').click(function(f) {
window.open('/dingus.html?text=' +
encodeURIComponent(t.replace(/→/g,"\t")));
});
});
- $$("code.markdown").dblclick(function(e) { window.open('/dingus.html?text=' +
+ $$("code.language-markdown").dblclick(function(e) { window.open('/dingus.html?text=' +
encodeURIComponent($$(this).find('code').text()));
});
});