File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/tpl/defaultTheme/frontend Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 335335 var ARROW_LEFT = 'ArrowLeft' ;
336336 var ARROW_RIGHT = 'ArrowRight' ;
337337
338- // IE/ClassicEdge specific key
339- var UP = 'Up' ;
340- var DOWN = 'Down' ;
341- var LEFT = 'Left' ;
342- var RIGHT = 'Right' ;
343-
344338 var SKIP_TAGS = [ 'INPUT' , 'BUTTON' , 'TEXTAREA' ] ;
345339
346340 var PLATFORM = navigator . platform ;
414408 if ( canArrowMove ( e ) ) {
415409 switch ( e . key ) {
416410 case ARROW_DOWN :
417- case DOWN :
418411 if ( isToEnd ( e ) ) {
419412 return getLastFocusableSibling ( itemList ) ;
420413 } else {
421414 return getFocusableSibling ( itemList , false ) ;
422415 }
423416 case ARROW_UP :
424- case UP :
425417 if ( isToEnd ( e ) ) {
426418 return getFirstFocusableSibling ( itemList ) ;
427419 } else {
428420 return getFocusableSibling ( itemList , true ) ;
429421 }
430422 case ARROW_RIGHT :
431- case RIGHT :
432423 if ( isToEnd ( e ) ) {
433424 return getLastFocusableSibling ( pathList ) ;
434425 } else {
435426 return getFocusableSibling ( pathList , false ) ;
436427 }
437428 case ARROW_LEFT :
438- case LEFT :
439429 if ( isToEnd ( e ) ) {
440430 return getFirstFocusableSibling ( pathList ) ;
441431 } else {
You can’t perform that action at this time.
0 commit comments