From 830d85827699c40f6ca4129e09e2721a3e8bd66b Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 1 Apr 2019 13:20:58 +0100 Subject: [PATCH] fix chrome back button --- docs/_templates/_redirect.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/_templates/_redirect.html b/docs/_templates/_redirect.html index 1957ebb8..f417d3ac 100644 --- a/docs/_templates/_redirect.html +++ b/docs/_templates/_redirect.html @@ -18,6 +18,9 @@ p += '?_pk_id=' + encodeURIComponent(cookies._pk_id || ''); p += '&_pk_ses=' + encodeURIComponent(cookies._pk_ses || ''); p += '&u=' + encodeURIComponent('{{url}}'); - window.location = 'http://networkgenomics.com/docs/mitogen/' + p; + var url = 'http://networkgenomics.com/docs/mitogen/' + p; + + document.write('');