summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-03 20:11:54 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-03 20:11:54 +0200
commit8844b141bfbe9d1620d60b5fde4225124409585c (patch)
tree6c2edc7322b7479a660b2e6c11de56bff0dd0bfe /application/palemoon/base/content/browser.js
parent13168ba15b63ccdd4b34e0a20bcb4deb37ab29f3 (diff)
downloadUXP-8844b141bfbe9d1620d60b5fde4225124409585c.tar
UXP-8844b141bfbe9d1620d60b5fde4225124409585c.tar.gz
UXP-8844b141bfbe9d1620d60b5fde4225124409585c.tar.lz
UXP-8844b141bfbe9d1620d60b5fde4225124409585c.tar.xz
UXP-8844b141bfbe9d1620d60b5fde4225124409585c.zip
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
Issue #430
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;
});