B2G/gecko/browser/devtools/layoutview/LayoutView.jsm
/**
   * Close the view container.
   *
   * @param aUserAction Is the action triggered by the user (click on the
   * open/close button in the view)
   */
Close the view container.
@param aUserAction Is the action triggered by the user (click on the
open/close button in the view)
Close the view container . @param aUserAction Is the action triggered by the user ( click on the open / close button in the view )
function LV_close(aUserAction) {
    this.isOpen = false;
    if (this.documentReady)
      this.doc.body.classList.remove("open");
    if (aUserAction) {
      this.inspector._layoutViewIsOpen = false;
      Services.prefs.setBoolPref("devtools.layoutview.open", false);
      this.view.removeAttribute("disable-transitions");
    } else {
      this.view.setAttribute("disable-transitions", "true");
    }
    this.iframe.removeAttribute("open");
  }
function LV_close ( aUserAction ) { this . isOpen = false ; if ( this . documentReady ) this . doc . body . classList . remove ( "open" ) ; if ( aUserAction ) { this . inspector . _layoutViewIsOpen = false ; Services . prefs . setBoolPref ( "devtools.layoutview.open" , false ) ; this . view . removeAttribute ( "disable-transitions" ) ; } else { this . view . setAttribute ( "disable-transitions" , "true" ) ; } this . iframe . removeAttribute ( "open" ) ; }
Close the view container.
Close the view container .