summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-06 18:58:12 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-06 18:58:12 +0200
commitd4e6ea04fd5e741662c6ff3e08b44481a40a651d (patch)
treec372213dea0ca87da72f5748777617abebecc124
parent051495712c6d1e7a1c7de3fc3866fa529e74af04 (diff)
downloadUXP-d4e6ea04fd5e741662c6ff3e08b44481a40a651d.tar
UXP-d4e6ea04fd5e741662c6ff3e08b44481a40a651d.tar.gz
UXP-d4e6ea04fd5e741662c6ff3e08b44481a40a651d.tar.lz
UXP-d4e6ea04fd5e741662c6ff3e08b44481a40a651d.tar.xz
UXP-d4e6ea04fd5e741662c6ff3e08b44481a40a651d.zip
Fix a comment in browser.js (the FindBar - a tab vs the chrome window's context)
Issue #430
-rw-r--r--application/palemoon/base/content/browser.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index af5d8b62a..def8828ec 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -365,8 +365,9 @@ var gFindBarSettings = {
receiveMessage(aMessage) {
switch (aMessage.name) {
case this.messageName:
- // If the find bar for this tab is not yet alive, only initialize
- // it if there's a possibility FindAsYouType will be used.
+ // If the find bar for chrome window's context is not yet alive,
+ // only initialize it if there's a possibility FindAsYouType
+ // will be used.
// There's no point in doing it for most random keypresses.
if (!gFindBarInitialized && aMessage.data.shouldFastFind) {
let shouldFastFind = this.findAsYouType;