function lastTab(focus) {
        var tab = this.tabs.slice().reverse().find(notDisabled);

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