diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-06 10:15:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-06 10:15:01 -0800 |
commit | c03e1e739cdb178fcea8be5c0006ef4c8631f138 (patch) | |
tree | 32931d8f49ff0b8c4973df4820f32dfddd682382 | |
parent | c527a55a3c874470fa405c94e0549c062b709cd8 (diff) |
Revert "Use new dingus address and hash format for "interact" links."
This reverts commit 75725d2c9fd81580886580923b09c2b485df3d6e.
-rw-r--r-- | tools/template.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/template.html b/tools/template.html index 78614db..10bbdb5 100644 --- a/tools/template.html +++ b/tools/template.html @@ -73,10 +73,8 @@ $$(document).ready(function() { $$("div.example").each(function(e) { var t = $$(this).find('code.language-markdown').text(); $$(this).find('a.dingus').click(function(f) { - window.open('/dingus/#md64=' + - window.btoa(JSON.stringify({ - source: t.replace(/→/g,"\t"), - defaults: {}}))); + window.open('/dingus.html?text=' + + encodeURIComponent(t.replace(/→/g,"\t"))); }); }); $$("code.language-markdown").dblclick(function(e) { window.open('/dingus.html?text=' + |