Skip to content
Snippets Groups Projects
Commit 50e740e3 authored by Martin Mareš's avatar Martin Mareš Committed by Jan Prachař
Browse files

Novinky: V kolech na úrovni nižší než kraj se refreshuje po 5 minutách

parent e99921c1
Branches
No related tags found
No related merge requests found
......@@ -7,5 +7,5 @@
{% endif %}
</div>
<script type="text/javascript">
r = new NewsReloader(document.getElementById("novinky"), document.getElementById("novinky-status"), "{{ url }}", 60000);
r = new NewsReloader(document.getElementById("novinky"), document.getElementById("novinky-status"), "{{ url }}", {% if round.level > 2 %}300000{% else %}60000{% endif %});
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment