Skip to content

Commit 1e3667d

Browse files
committed
change to use document.referrer instead of history.back()
seems to be enough to not just reload from cache
1 parent 6b64629 commit 1e3667d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/voted.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
</div>
101101
<script>
102102
setTimeout(function(){
103-
window.history.back()
103+
window.location.href = document.referrer
104104
}, 2000)
105105
</script>
106106
</body>

0 commit comments

Comments
 (0)