Skip to content

Commit

Permalink
remove set style
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 committed Aug 13, 2023
1 parent d2a0fac commit 67c39c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tab/TabWebcomponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export class TabWebcomponent extends BaseCustomWebComponentConstructorAppend {
for (const item of this.children as any as HTMLElement[]) {
if (i == this.selectedIndex) {
item.setAttribute('slot', 'main');
item.style.display = '';
} else {
item.removeAttribute('slot');
}
Expand Down

0 comments on commit 67c39c5

Please sign in to comment.