From a744d76655f08a2812270da0c459126428c5786d Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 9 Sep 2018 10:26:49 +0200 Subject: Ensure the findbar target content browser follows the active tab. --- application/palemoon/base/content/tabbrowser.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index 0390d165c..3de1c6be2 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -1041,6 +1041,11 @@ // Bug 666809 - SecurityUI support for e10s var webProgress = this.mCurrentBrowser.webProgress; var securityUI = this.mCurrentBrowser.securityUI; + + // Update global findbar with new content browser + if (gFindBarInitialized) { + gFindBar.browser = newBrowser; + } this._callProgressListeners(null, "onLocationChange", [webProgress, null, loc, 0], true, -- cgit v1.2.3