B2G/gecko/browser/components/tabview/search.js
// Make sure the event handlers are appropriate for the before-search mode.
Make sure the event handlers are appropriate for the before-search mode.
Make sure the event handlers are appropriate for the before - search mode .
function Search_switchToBeforeMode() {
    let self = this;
    if (this._currentHandler)
      iQ(window).unbind("keydown", this._currentHandler);
    this._currentHandler = function Search_switchToBeforeMode_handler(event) {
      self._beforeSearchKeyHandler(event);
    }
    iQ(window).keydown(this._currentHandler);
  }
function Search_switchToBeforeMode ( ) { let self = this ; if ( this . _currentHandler ) iQ ( window ) . unbind ( "keydown" , this . _currentHandler ) ; this . _currentHandler = function Search_switchToBeforeMode_handler ( event ) { self . _beforeSearchKeyHandler ( event ) ; } iQ ( window ) . keydown ( this . _currentHandler ) ; }
Make sure the event handlers are appropriate for the before-search mode.
Make sure the event handlers are appropriate for the before - search mode .