File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -810,7 +810,7 @@ define([
810
810
/**
811
811
* @todo keyboard navigation through Fotorama Api.
812
812
*/
813
- $ ( document ) . keydown ( keyboardNavigation ) ;
813
+ $ ( document ) . on ( 'keydown' , keyboardNavigation ) ;
814
814
815
815
$ ( document ) . on ( isTouchEnabled ? 'touchend' : 'mouseup pointerup MSPointerUp' , function ( e ) {
816
816
if ( gallery . fullScreen ) {
@@ -924,14 +924,14 @@ define([
924
924
e . stopPropagation ( ) ;
925
925
} ) ;
926
926
927
- $zoomIn . keyup ( function ( e ) {
927
+ $zoomIn . on ( 'keyup' , function ( e ) {
928
928
929
929
if ( e . keyCode === 13 ) {
930
930
zoomIn ( e ) ;
931
931
}
932
932
} ) ;
933
933
934
- $ ( window ) . keyup ( function ( e ) {
934
+ $ ( window ) . on ( 'keyup' , function ( e ) {
935
935
936
936
if ( e . keyCode === 107 || fotorama . fullscreen ) {
937
937
zoomIn ( e ) ;
You can’t perform that action at this time.
0 commit comments