1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Revert "Populate the find field with the search query when URL has #search hash"

This reverts commit 50f73092e1. This
causes an inconsistency with the integrated find bar that should be
discussed more before moving on with this (refer to PR #12141).
This commit is contained in:
Tim van der Meij 2020-08-01 00:39:55 +02:00
parent 0d20a2b7b4
commit 81ae565d8a
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762

View file

@ -2349,10 +2349,6 @@ function webViewerFindFromUrlHash(evt) {
highlightAll: true,
findPrevious: false,
});
if (PDFViewerApplication.findBar) {
PDFViewerApplication.findBar.findField.value = evt.query;
}
}
function webViewerUpdateFindMatchesCount({ matchesCount }) {