mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-30 04:02:46 +01:00
fix: checkbox checked status opposite
This commit is contained in:
parent
fbfcbaebca
commit
669038758e
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
{{- /* Checkbox unchecked */ -}}
|
||||
{{- $REin := `<input disabled="" type="checkbox">` -}}
|
||||
{{- $REout := `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- $REout := `<i class="far fa-square fa-fw"></i>` -}}
|
||||
{{- $content := replaceRE $REin $REout . -}}
|
||||
|
||||
{{- /* Checkbox checked */ -}}
|
||||
{{- $REin = `<input checked="" disabled="" type="checkbox">` -}}
|
||||
{{- $REout = `<i class="far fa-square fa-fw"></i>` -}}
|
||||
{{- $REout = `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- return replaceRE $REin $REout $content -}}
|
||||
|
|
Loading…
Reference in a new issue