From c03e1e739cdb178fcea8be5c0006ef4c8631f138 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 6 Feb 2015 10:15:01 -0800 Subject: Revert "Use new dingus address and hash format for "interact" links." This reverts commit 75725d2c9fd81580886580923b09c2b485df3d6e. --- tools/template.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools') 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=' + -- cgit v1.2.3