function previousTab(focus) {
        var currentIndex = Math.max(this.currentTab, 0);
        var tab = this.tabs.slice(0, currentIndex).reverse().find(notDisabled);

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