From fffdada0b38d8339f48f92be03d34247107d3662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Jun 2022 03:10:22 +0200 Subject: Change boolean attribute value to itself. --- static/components/tab-group-element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/components/tab-group-element.ts b/static/components/tab-group-element.ts index 0da11a56..5cfeab2d 100644 --- a/static/components/tab-group-element.ts +++ b/static/components/tab-group-element.ts @@ -156,7 +156,7 @@ class TabGroupElement extends ComponentVEvent { /* hide all tab panels */ for (let tabcontent of this.querySelectorAll('[role="tabpanel"]')) { - tabcontent.setAttribute('hidden', 'true'); + tabcontent.setAttribute('hidden', 'hidden'); } /* unselect all (selected) tab handles */ for (let item of this.querySelectorAll('[aria-selected="true"]')) { -- cgit v1.2.3