Commit 3a0c0c59 authored by fred's avatar fred
Browse files

cancel party autoreload mode when leaving the party page

parent 74ab964e
......@@ -8,7 +8,12 @@
{% block extrascripts %}
<script>
var timer = null;
function reload() {
if (location.href.indexOf('/party') == -1) {
clearInterval(timer);
return;
}
if (location.href.indexOf('?') == -1) {
href = location.href;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment