Skip to content

Commit

Permalink
Merge pull request #12422 from Snuffleupagus/find-not-shiftKey
Browse files Browse the repository at this point in the history
Don't trigger searching, in the `GENERIC` viewer, when <kbd>Shift</kbd> is used together with the regular keyboard shortcut (issue 12421)
  • Loading branch information
timvandermeij committed Sep 29, 2020
2 parents 8fa4e48 + f399ac7 commit d49b2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,7 @@ function webViewerKeyDown(evt) {
// either CTRL or META key with optional SHIFT.
switch (evt.keyCode) {
case 70: // f
if (!PDFViewerApplication.supportsIntegratedFind) {
if (!PDFViewerApplication.supportsIntegratedFind && !evt.shiftKey) {
PDFViewerApplication.findBar.open();
handled = true;
}
Expand Down

0 comments on commit d49b2f6

Please sign in to comment.