function nextTab(focus) {
        var currentIndex = Math.max(this.currentTab, -1);
        var tab = this.tabs.slice(currentIndex + 1).find(notDisabled);

        if (this.activateTab(tab) && focus) {
          this.focusButton(tab);
          this.emitTabClick(tab, focus);
        }
      }
// Move to next non-disabled tab
Move to next non-disabled tab
Move to next non - disabled tab
function nextTab(focus) {
        var currentIndex = Math.max(this.currentTab, -1);
        var tab = this.tabs.slice(currentIndex + 1).find(notDisabled);
        if (this.activateTab(tab) && focus) {
          this.focusButton(tab);
          this.emitTabClick(tab, focus);
        }
      }
function nextTab ( focus ) { var currentIndex = Math . max ( this . currentTab , - 1 ) ; var tab = this . tabs . slice ( currentIndex + 1 ) . find ( notDisabled ) ; if ( this . activateTab ( tab ) && focus ) { this . focusButton ( tab ) ; this . emitTabClick ( tab , focus ) ; } }
Move to next non-disabled tab
Move to next non - disabled tab