From 81ae565d8a6af0fd90b619379cd026889a9a77d2 Mon Sep 17 00:00:00 2001
From: Tim van der Meij <timvandermeij@gmail.com>
Date: Sat, 1 Aug 2020 00:39:55 +0200
Subject: [PATCH] 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).
---
 web/app.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/web/app.js b/web/app.js
index 7a9ce9dfe..e84a2af22 100644
--- a/web/app.js
+++ b/web/app.js
@@ -2349,10 +2349,6 @@ function webViewerFindFromUrlHash(evt) {
     highlightAll: true,
     findPrevious: false,
   });
-
-  if (PDFViewerApplication.findBar) {
-    PDFViewerApplication.findBar.findField.value = evt.query;
-  }
 }
 
 function webViewerUpdateFindMatchesCount({ matchesCount }) {