function firstTab(focus) {
        var tab = this.tabs.find(notDisabled);

        if (this.activateTab(tab) && focus) {
          this.focusButton(tab);
          this.emitTabClick(tab, focus);
        }
      }
// Move to first non-disabled tab
Move to first non-disabled tab
Move to first non - disabled tab
function firstTab(focus) {
        var tab = this.tabs.find(notDisabled);
        if (this.activateTab(tab) && focus) {
          this.focusButton(tab);
          this.emitTabClick(tab, focus);
        }
      }
function firstTab ( focus ) { var tab = this . tabs . find ( notDisabled ) ; if ( this . activateTab ( tab ) && focus ) { this . focusButton ( tab ) ; this . emitTabClick ( tab , focus ) ; } }
Move to first non-disabled tab
Move to first non - disabled tab