summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-07 18:41:26 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-06-07 18:41:26 +0200
commitfad28e744605c645c2d98e7a885e49dc498c974f (patch)
treef0cfc7b190f65a9539202d79303136e2c98f4415 /templates/index.html
parent5524001fac49e981ecf11086abf2bc0838f11ef0 (diff)
downloadjokevote-fad28e744605c645c2d98e7a885e49dc498c974f.tar.gz
jokevote-fad28e744605c645c2d98e7a885e49dc498c974f.zip
smoothstate: honor redirects (merged pr 267)
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index d0b1292..cdbb1b5 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -141,7 +141,7 @@
</div>
<script type="text/javascript">
$(document).ready(function() {
- $('#main').smoothState({prefetch: true});
+ $('#main').smoothState({prefetch: true, locationHeader: 'X-SmoothState-Location'});
});
function openEditor(me) {
var joke = $(me).closest('.joke');