@@ -150,15 +150,15 @@ class GridViewManager {
150150 }
151151
152152 addGridEventListeners ( ) {
153- this . addEventListener ( window , "swiperModeChanged" , async ( e ) => {
153+ this . addEventListener ( window , "swiperModeChanged" , async ( ) => {
154154 await this . resetAllSlides ( ) ;
155155 } ) ;
156156
157- this . addEventListener ( window , "searchResultsChanged" , async ( e ) => {
157+ this . addEventListener ( window , "searchResultsChanged" , async ( ) => {
158158 await this . resetAllSlides ( ) ;
159159 } ) ;
160160
161- this . addEventListener ( window , "slideChanged" , async ( e ) => {
161+ this . addEventListener ( window , "slideChanged" , async ( ) => {
162162 // nothing for now
163163 } ) ;
164164
@@ -170,7 +170,7 @@ class GridViewManager {
170170 } ) ;
171171
172172 this . addEventListener ( window , "seekToSlideIndex" , async ( e ) => {
173- const { globalIndex, searchIndex , totalSlides , isSearchMode } = e . detail ;
173+ const { globalIndex, isSearchMode } = e . detail ;
174174 if ( isSearchMode !== slideState . isSearchMode ) {
175175 console . error ( "Mismatched search mode in setSlideIndex event" ) ;
176176 return ;
@@ -299,7 +299,7 @@ class GridViewManager {
299299 return ;
300300 }
301301 let lastTap = 0 ;
302- slideEl . addEventListener ( "touchend" , ( e ) => {
302+ slideEl . addEventListener ( "touchend" , ( ) => {
303303 const now = Date . now ( ) ;
304304 if ( now - lastTap < 350 ) {
305305 window . handleGridSlideDblClick ( globalIndex ) ;
0 commit comments