Various fixes for prior

This commit is contained in:
2021-02-22 01:29:17 +00:00
parent ffbcfe28a9
commit b5e80382b9
8 changed files with 22 additions and 49 deletions

View File

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

View File

@@ -5,11 +5,17 @@
{% load static %}
{% block css %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'css/selects.css' %}"/>
{% endblock %}
{% block preload_js %}
{{ block.super }}
<script src="{% static 'js/selects.js' %}" async></script>
{% endblock %}
{% block js %}
<script src="{% static 'js/selects.js' %}"></script>
{{ block.super }}
<script>
//Get querystring value
function getParameterByName(name) {