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>
{% endblock %}
{% 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 %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

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

View File

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

View File

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