aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-12 03:10:22 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-12 03:10:22 +0200
commitfffdada0b38d8339f48f92be03d34247107d3662 (patch)
tree62390b1ec5ba1ea12a742ec15bf9682fed23769f
parentChange element types for tabs. (diff)
downloadcalp-fffdada0b38d8339f48f92be03d34247107d3662.tar.gz
calp-fffdada0b38d8339f48f92be03d34247107d3662.tar.xz
Change boolean attribute value to itself.
-rw-r--r--static/components/tab-group-element.ts2
1 files changed, 1 insertions, 1 deletions
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"]')) {