This commit is contained in:
2021-02-22 12:38:57 +00:00
parent 5edb61f243
commit 28a70667c2
10 changed files with 22 additions and 17 deletions

View File

@@ -9,11 +9,12 @@
{% block preload_js %}
{{ block.super }}
<script src="{% static 'js/selects.js' %}" async></script>
<script src="{% static 'js/selects.js' %}"></script>
{% endblock %}
{% block js %}
{{ block.super }}
<script src="{% static 'js/autocompleter.js' %}"></script>
<script>
const matches = window.matchMedia("(prefers-reduced-motion: reduce)").matches || window.matchMedia("(update: slow)").matches;
dur = matches ? 0 : 500;