File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2897,8 +2897,7 @@ function onKeyDown(evt) {
28972897 curElementTagName === "INPUT" ||
28982898 curElementTagName === "TEXTAREA" ||
28992899 curElementTagName === "SELECT" ||
2900- ( curElementTagName === "BUTTON" &&
2901- ( evt . keyCode === /* Enter = */ 13 || evt . keyCode === /* Space = */ 32 ) ) ||
2900+ ( curElementTagName === "BUTTON" && evt . keyCode === /* Space = */ 32 ) ||
29022901 curElement ?. isContentEditable
29032902 ) {
29042903 // Make sure that the secondary toolbar is closed when Escape is pressed.
@@ -2969,7 +2968,6 @@ function onKeyDown(evt) {
29692968 }
29702969 turnPage = 1 ;
29712970 break ;
2972- case 13 : // enter key
29732971 case 32 : // spacebar
29742972 if ( ! isViewerInPresentationMode ) {
29752973 turnOnlyIfPageFit = true ;
@@ -3037,7 +3035,6 @@ function onKeyDown(evt) {
30373035 // shift-key
30383036 if ( cmd === 4 ) {
30393037 switch ( evt . keyCode ) {
3040- case 13 : // enter key
30413038 case 32 : // spacebar
30423039 if (
30433040 ! isViewerInPresentationMode &&
You can’t perform that action at this time.
0 commit comments