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

@@ -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>