Skip to content

Commit

Permalink
Merge pull request #1 from happyprime/fix/buttons-in-buttons
Browse files Browse the repository at this point in the history
Fix issues with tabbed group buttons
  • Loading branch information
jeremyfelt authored Oct 25, 2024
2 parents 9ce795f + f7f3bee commit ce26c63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/js/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
const openTabbedGroup = (tabIndex, containerIndex) => {
const tabs = containers[containerIndex].querySelectorAll(
'.wp-block-buttons > .wp-block-button'
':scope >.wp-block-buttons > .wp-block-button > .wp-block-button__link'
);

tabs.forEach((tab, newIndex) => {
Expand Down

0 comments on commit ce26c63

Please sign in to comment.