diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-12 03:10:22 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-12 03:10:22 +0200 |
commit | fffdada0b38d8339f48f92be03d34247107d3662 (patch) | |
tree | 62390b1ec5ba1ea12a742ec15bf9682fed23769f /static/components | |
parent | Change element types for tabs. (diff) | |
download | calp-fffdada0b38d8339f48f92be03d34247107d3662.tar.gz calp-fffdada0b38d8339f48f92be03d34247107d3662.tar.xz |
Change boolean attribute value to itself.
Diffstat (limited to 'static/components')
-rw-r--r-- | static/components/tab-group-element.ts | 2 |
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"]')) { |