Skip to content

Commit b53c5c0

Browse files
authored
Redirect user before showing failsafe text (#40)
1 parent 19bf9d3 commit b53c5c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxext/rediraffe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
</noscript>
2828
</head>
2929
<body>
30-
<p>You should have been redirected.</p>
31-
<a href="{{rel_url}}">If not, click here to continue.</a>
3230
<script>
3331
window.location.href = '{{rel_url}}' + (window.location.search || '') + (window.location.hash || '');
3432
</script>
33+
<p>You should have been redirected.</p>
34+
<a href="{{rel_url}}">If not, click here to continue.</a>
3535
</body>
3636
</html>
3737

0 commit comments

Comments
 (0)