1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00

Ensure checked flag is reset

This commit is contained in:
squidfunk 2022-10-28 16:42:58 +07:00
parent 006f520f37
commit 4caa165b97
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@
<input class="md-toggle" type="checkbox" id="__settings" {{ checked }}>
<div class="md-consent__settings">
<ul class="task-list">
{% set checked = "" %}
{% for type in cookies %}
{% set checked = "" %}
{% if cookies[type] is string %}
{% set name = cookies[type] %}
{% set checked = "checked" %}

View File

@ -57,8 +57,8 @@
/>
<div class="md-consent__settings">
<ul class="task-list">
{% set checked = "" %}
{% for type in cookies %}
{% set checked = "" %}
{% if cookies[type] is string %}
{% set name = cookies[type] %}
{% set checked = "checked" %}