Skip to content
Snippets Groups Projects
Commit 5b78f02a authored by Martin Mareš's avatar Martin Mareš
Browse files

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

parent e8a5c95f
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !98. Comments created here will be created in the context of that merge request.
......@@ -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