Skip to content

Commit

Permalink
tabpane: fix duplicate-key detection
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Aug 2, 2023
1 parent ab1f1d0 commit e919c62
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 e919c62

Please sign in to comment.