mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Fix a comment in browser.js (the FindBar - a tab vs the chrome window's context)
Issue #430
This commit is contained in:
parent
426e543f27
commit
829ce72d6d
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue