File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 193
193
// Auto-expand SITE SETTINGS conditionally
194
194
const onMatchedPage = chrome . runtime . getManifest ( ) . content_scripts [ 0 ] . matches . toString ( ) . includes ( env . site )
195
195
if ( ! onMatchedPage || config [ `${ env . site } Disabled` ] ) { // auto-expand Site Settings
196
- if ( ! onMatchedPage ) ssLabel . div . style . pointerEvents = 'none' // disable label
196
+ if ( ! onMatchedPage ) ssLabel . div . style . pointerEvents = 'none' // disable label from triggering unneeded collapse
197
197
setTimeout ( ( ) => toggleSiteSettingsVisibility ( { transitions : onMatchedPage } ) ,
198
198
! onMatchedPage ? 0 // no delay since emptyish already
199
- : env . browser . isFF ? 335 : 250 ) // some delay since entries appear (more in FF since no transition)
199
+ : ! env . browser . isFF ? 250 // some delay since other settings appear
200
+ : 335 // more in FF since no transition
201
+ )
200
202
}
201
203
202
204
// LOCALIZE labels
You can’t perform that action at this time.
0 commit comments