summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-03 22:55:42 +0200
committerGitHub <noreply@github.com>2018-06-03 22:55:42 +0200
commitbf11fdd304898ac675e39b01b280d39550e419d0 (patch)
tree1fec353f59754401cb28e8d9edff8ea38209765e /application/palemoon/base/content/browser.js
parent88e05fc523ec7a2c366b0e7831991efee538566c (diff)
parent8844b141bfbe9d1620d60b5fde4225124409585c (diff)
downloadUXP-bf11fdd304898ac675e39b01b280d39550e419d0.tar
UXP-bf11fdd304898ac675e39b01b280d39550e419d0.tar.gz
UXP-bf11fdd304898ac675e39b01b280d39550e419d0.tar.lz
UXP-bf11fdd304898ac675e39b01b280d39550e419d0.tar.xz
UXP-bf11fdd304898ac675e39b01b280d39550e419d0.zip
Merge pull request #441 from janekptacijarabaci/pm_findbar_1
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r--application/palemoon/base/content/browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index 4bdac7850..a51b73fe8 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -64,7 +64,7 @@ XPCOMUtils.defineLazyGetter(window, "gFindBar", function() {
// Force a style flush to ensure that our binding is attached.
findbar.clientTop;
- findbar.browser = gBrowser;
+ findbar.browser = gBrowser.mCurrentBrowser;
window.gFindBarInitialized = true;
return findbar;
});