Removed deprecations

This commit is contained in:
squidfunk 2022-11-12 12:50:20 +01:00
parent 822b738001
commit 9979cbf9ec
6 changed files with 8 additions and 19 deletions

View File

@ -245,7 +245,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.d6c3db9e.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.54c68c06.min.js' | url }}"></script>
{% for path in config.extra_javascript %} {% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -32,11 +32,7 @@
{% else %} {% else %}
{% set title = page.title | urlencode %} {% set title = page.title | urlencode %}
{% endif %} {% endif %}
{% if "{}" in rating.note %} {{ rating.note.format(url = url, title = title) }}
{{ rating.note.format(url, title) }}
{% else %}
{{ rating.note.format(url = url, title = title) }}
{% endif %}
</div> </div>
{% endfor %} {% endfor %}
</div> </div>

View File

@ -63,8 +63,7 @@ export function patchIndeterminate(
document$ document$
.pipe( .pipe(
switchMap(() => getElements<HTMLInputElement>( switchMap(() => getElements<HTMLInputElement>(
// @todo `data-md-state` is deprecated and removed in v9 ".md-toggle--indeterminate"
".md-toggle--indeterminate, [data-md-state=indeterminate]"
)), )),
tap(el => { tap(el => {
el.indeterminate = true el.indeterminate = true

View File

@ -68,14 +68,8 @@
{% set title = page.title | urlencode %} {% set title = page.title | urlencode %}
{% endif %} {% endif %}
<!-- Legacy, deprecated, removed in next major version -->
{% if "{}" in rating.note %}
{{ rating.note.format(url, title) }}
<!-- Replace {url} and {title} placeholders in note --> <!-- Replace {url} and {title} placeholders in note -->
{% else %} {{ rating.note.format(url = url, title = title) }}
{{ rating.note.format(url = url, title = title) }}
{% endif %}
</div> </div>
{% endfor %} {% endfor %}
</div> </div>