From 669038758e59e422a46642e7684c1e32cef5fae6 Mon Sep 17 00:00:00 2001 From: libo Date: Mon, 24 Feb 2020 22:28:00 +0800 Subject: [PATCH] fix: checkbox checked status opposite --- layouts/partials/function/checkbox.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/function/checkbox.html b/layouts/partials/function/checkbox.html index 820c4e03..7d39720c 100644 --- a/layouts/partials/function/checkbox.html +++ b/layouts/partials/function/checkbox.html @@ -1,9 +1,9 @@ {{- /* Checkbox unchecked */ -}} {{- $REin := `` -}} -{{- $REout := `` -}} +{{- $REout := `` -}} {{- $content := replaceRE $REin $REout . -}} {{- /* Checkbox checked */ -}} {{- $REin = `` -}} -{{- $REout = `` -}} +{{- $REout = `` -}} {{- return replaceRE $REin $REout $content -}}