File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,20 +128,20 @@ function attachOneDropdownAria($dropdown) {
128
128
// * mobile event sequence: focus -> mousedown -> mouseup -> click
129
129
// Fomantic may stop propagation of blur event, use capture to make sure we can still get the event
130
130
let ignoreClickPreEvents = 0 , ignoreClickPreVisible = 0 ;
131
- $dropdown [ 0 ] . addEventListener ( 'mousedown' , ( e ) => {
131
+ $dropdown [ 0 ] . addEventListener ( 'mousedown' , ( ) => {
132
132
ignoreClickPreVisible += isMenuVisible ( ) ? 1 : 0 ;
133
133
ignoreClickPreEvents ++ ;
134
134
} , true ) ;
135
- $dropdown [ 0 ] . addEventListener ( 'focus' , ( e ) => {
135
+ $dropdown [ 0 ] . addEventListener ( 'focus' , ( ) => {
136
136
ignoreClickPreVisible += isMenuVisible ( ) ? 1 : 0 ;
137
137
ignoreClickPreEvents ++ ;
138
138
deferredRefreshAria ( ) ;
139
139
} , true ) ;
140
- $dropdown [ 0 ] . addEventListener ( 'blur' , ( e ) => {
140
+ $dropdown [ 0 ] . addEventListener ( 'blur' , ( ) => {
141
141
ignoreClickPreVisible = ignoreClickPreEvents = 0 ;
142
142
deferredRefreshAria ( 100 ) ;
143
143
} , true ) ;
144
- $dropdown [ 0 ] . addEventListener ( 'mouseup' , ( e ) => {
144
+ $dropdown [ 0 ] . addEventListener ( 'mouseup' , ( ) => {
145
145
setTimeout ( ( ) => {
146
146
ignoreClickPreVisible = ignoreClickPreEvents = 0 ;
147
147
deferredRefreshAria ( 100 ) ;
You can’t perform that action at this time.
0 commit comments