Skip to content

Commit

Permalink
tabpane: fix duplicate-key detection (#1638)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Aug 2, 2023
1 parent 9741e07 commit 3f3172a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/tabpane.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down

0 comments on commit 3f3172a

Please sign in to comment.