B2G/gecko/services/aitc/modules/main.js
// Called when the current tab selection changes.
Called when the current tab selection changes.
Called when the current tab selection changes .
function tabSelected(event) {
      let browser = event.target.linkedBrowser;
      if (browser.currentURI.prePath == self.DASHBOARD_ORIGIN) {
        dashboardLoaded(browser);
      } else {
        dashboardUnloaded();
      }
    }
function tabSelected ( event ) { let browser = event . target . linkedBrowser ; if ( browser . currentURI . prePath == self . DASHBOARD_ORIGIN ) { dashboardLoaded ( browser ) ; } else { dashboardUnloaded ( ) ; } }
Called when the current tab selection changes.
Called when the current tab selection changes .