File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/design/adminhtml/Magento/backend/web/js Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -347,21 +347,21 @@ define('globalSearch', [
347
347
self . field . addClass ( self . options . fieldActiveClass ) ;
348
348
} ) ;
349
349
350
- $ ( document ) . keydown ( function ( e ) {
350
+ $ ( document ) . keydown ( function ( event ) {
351
351
var inputs = [
352
352
'input' ,
353
353
'select' ,
354
354
'textarea'
355
355
] ;
356
356
357
- if ( keyCodes [ e . which ] !== 'forwardSlashKey' ||
358
- inputs . indexOf ( e . target . tagName . toLowerCase ( ) ) !== - 1 ||
359
- e . target . isContentEditable
357
+ if ( keyCodes [ event . which ] !== 'forwardSlashKey' ||
358
+ inputs . indexOf ( event . target . tagName . toLowerCase ( ) ) !== - 1 ||
359
+ event . target . isContentEditable
360
360
) {
361
361
return ;
362
362
}
363
363
364
- e . preventDefault ( ) ;
364
+ event . preventDefault ( ) ;
365
365
366
366
self . input . focus ( ) ;
367
367
} ) ;
You can’t perform that action at this time.
0 commit comments