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

This reverts commit 50f73092e1f74e0fb1ea8d40763a5fba709c00c0. 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 }) {