File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,9 +156,6 @@ function initLeaderCarousel() {
156156 dots . forEach ( ( d , i ) => d . classList . toggle ( 'active' , i === currentIdx ) ) ;
157157 const sectionLabel = cards [ currentIdx ] . dataset . sectionLabel ;
158158 if ( label && sectionLabel ) label . textContent = sectionLabel ;
159- if ( typeof window . __syncTeamPopupFromLeaderCard === 'function' ) {
160- window . __syncTeamPopupFromLeaderCard ( cards [ currentIdx ] ) ;
161- }
162159 resetProgress ( ) ;
163160 }
164161
@@ -354,13 +351,6 @@ function initTeamPopup() {
354351 ) ;
355352 }
356353
357- // Used by the leadership carousel so an open leadership popup tracks auto/manual slide changes.
358- window . __syncTeamPopupFromLeaderCard = card => {
359- if ( ! overlay . classList . contains ( 'active' ) ) return ;
360- if ( overlay . dataset . popupSource !== 'leadership' ) return ;
361- openPopupFromCard ( card , 'leadership' ) ;
362- } ;
363-
364354 function stepCorePopup ( dir ) {
365355 const coreItems = [ ...document . querySelectorAll ( '[data-section="core"] .core-grid-item--has-popup' ) ] ;
366356 if ( ! coreItems . length ) return ;
You can’t perform that action at this time.
0 commit comments