File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/TwigBundle/Resources/views Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 41
41
94BE
42
42
/* create the tab navigation for each group of tabs */
43
43
for (var i = 0 ; i < tabGroups .length ; i++ ) {
44
- var tabs = tabGroups[i].querySelectorAll (' .tab' );
44
+ var tabs = tabGroups[i].querySelectorAll (' :scope > .tab' );
45
45
var tabNavigation = document .createElement (' ul' );
46
46
tabNavigation .className = ' tab-navigation' ;
47
47
67
67
68
68
/* display the active tab and add the 'click' event listeners */
69
69
for (i = 0 ; i < tabGroups .length ; i++ ) {
70
- tabNavigation = tabGroups[i].querySelectorAll (' .tab-navigation li' );
70
+ tabNavigation = tabGroups[i].querySelectorAll (' :scope > .tab-navigation li' );
71
71
72
72
for (j = 0 ; j < tabNavigation .length ; j++ ) {
73
73
tabId = tabNavigation[j].getAttribute (' data-tab-id' );
You can’t perform that action at this time.
0 commit comments