mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-17 11:35:17 +00:00
[lint] Fix indentation in JS files.
This commit is contained in:
parent
420a33d79f
commit
1cb84b0f62
1 changed files with 202 additions and 200 deletions
|
@ -248,7 +248,9 @@ class TabGroup {
|
|||
}
|
||||
|
||||
initPanels() {
|
||||
let selectedPanelId = this.tablist.querySelector('[role="tab"][aria-selected="true"]').getAttribute("aria-controls");
|
||||
let selectedPanelId = this.tablist
|
||||
.querySelector('[role="tab"][aria-selected="true"]')
|
||||
.getAttribute("aria-controls");
|
||||
for(let panel of this.panels) {
|
||||
if(panel.getAttribute("id") !== selectedPanelId) {
|
||||
panel.setAttribute("hidden", "");
|
||||
|
|
Loading…
Reference in a new issue