1. Shlomi Fish
  2. Firefox Enhanced Find Extension

Commits

aped...@53109ca4-e04f-0410-a383-61b69e975762  committed 9a8c1dc

Removing unnecessary hack timeout that tried to ensure the FAYT feature was initialized.

* Tested in FF 3.0.17, 3.5.8 and 3.7a4pre.

  • Participants
  • Parent commits 7c8aec3
  • Branches default

Comments (0)

Files changed (1)

File content/smartfindbar.xml

View file
  • Ignore whitespace
                 // Convenience
                 this.nsITypeAheadFind = Components.interfaces.nsITypeAheadFind;
                 this.nsISelectionController = Components.interfaces.nsISelectionController;
-
-                // Make sure the FAYT keypress listener is attached by initializing the
-                // browser property
-                setTimeout(function(aSelf) { aSelf.browser = aSelf.browser; }, 0, this);
-
             ]]></constructor>
 
             <method name="_setSimilar">