Skip to content

Commit 4caa165

Browse files
committed
Ensure checked flag is reset
1 parent 006f520 commit 4caa165

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/partials/consent.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ <h4>{{ config.extra.consent.title }}</h4>
2424
<input class="md-toggle" type="checkbox" id="__settings" {{ checked }}>
2525
<div class="md-consent__settings">
2626
<ul class="task-list">
27-
{% set checked = "" %}
2827
{% for type in cookies %}
28+
{% set checked = "" %}
2929
{% if cookies[type] is string %}
3030
{% set name = cookies[type] %}
3131
{% set checked = "checked" %}

src/partials/consent.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ <h4>{{ config.extra.consent.title }}</h4>
5757
/>
5858
<div class="md-consent__settings">
5959
<ul class="task-list">
60-
{% set checked = "" %}
6160
{% for type in cookies %}
61+
{% set checked = "" %}
6262
{% if cookies[type] is string %}
6363
{% set name = cookies[type] %}
6464
{% set checked = "checked" %}

0 commit comments

Comments
 (0)