Merge pull request #12141 from phillipj/populate-findbar-on-search-hash
Populate the find field with the search query when URL has #search hash
This commit is contained in:
commit
c5663f2f6b
@ -2349,6 +2349,10 @@ function webViewerFindFromUrlHash(evt) {
|
||||
highlightAll: true,
|
||||
findPrevious: false,
|
||||
});
|
||||
|
||||
if (PDFViewerApplication.findBar) {
|
||||
PDFViewerApplication.findBar.findField.value = evt.query;
|
||||
}
|
||||
}
|
||||
|
||||
function webViewerUpdateFindMatchesCount({ matchesCount }) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user