mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge branch 'maxsong1002/shortcutkeytonavigate'
This commit is contained in:
commit
78b61fedfc
1 changed files with 5 additions and 0 deletions
|
@ -2012,6 +2012,11 @@ window.addEventListener('keydown', function keydown(evt) {
|
|||
SecondaryToolbar.presentationModeClick();
|
||||
handled = true;
|
||||
break;
|
||||
case 71: // g
|
||||
// focuses input#pageNumber field
|
||||
document.getElementById('pageNumber').select();
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue