From e919c626a5343e1aef37a4a3f1182e9d5f8e1bdd Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 2 Aug 2023 09:32:35 -0400 Subject: [PATCH] tabpane: fix duplicate-key detection --- layouts/shortcodes/tabpane.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/tabpane.html b/layouts/shortcodes/tabpane.html index ad58f413c7..7359da5b11 100644 --- a/layouts/shortcodes/tabpane.html +++ b/layouts/shortcodes/tabpane.html @@ -82,7 +82,7 @@ {{/* Check for duplicate tab-persistence keys */ -}} {{ if and $persistTab $persistKey -}} - {{ if in $persistKey $persistKeyList -}} + {{ if in $persistKeyList $persistKey -}} {{ $duplicate = true -}} {{ $duplicateKey = $persistKey -}} {{ $persistTab = false -}}