Skip to content

Commit

Permalink
change to use document.referrer instead of history.back()
Browse files Browse the repository at this point in the history
seems to be enough to not just reload from cache
  • Loading branch information
tj committed Jul 4, 2017
1 parent 6b64629 commit 1e3667d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/voted.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
</div>
<script>
setTimeout(function(){
window.history.back()
window.location.href = document.referrer
}, 2000)
</script>
</body>
Expand Down

0 comments on commit 1e3667d

Please sign in to comment.