Skip to content

Commit 68a9aef

Browse files
committed
Override getFirstTab() from themes.js to fix jdorn#681 (Bootstrap4: When using category tabs, content of first tab is empty); Also affects portion of jdorn#594
1 parent a7f1b9b commit 68a9aef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/themes/bootstrap4.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,10 @@ export class bootstrap4Theme extends AbstractTheme {
515515
return tabHolder.children[1].children[0]
516516
}
517517

518+
getFirstTab (holder) {
519+
return holder.firstChild.firstChild.firstChild
520+
}
521+
518522
getProgressBar () {
519523
const min = 0
520524
const max = 100

0 commit comments

Comments
 (0)