Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
cristijora committed Apr 9, 2018
1 parent 85eaa5b commit f3cf9a9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/vue-tabs.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-nav-tabs v0.5.6
* vue-nav-tabs v0.5.7
* (c) 2018-present cristij <joracristi@gmail.com>
* Released under the MIT License.
*/
Expand Down Expand Up @@ -83,7 +83,7 @@ var VueTabs = {
this.$emit('input', tab.title);
},
changeTab: function changeTab(oldIndex, newIndex, route) {
var oldTab = this.tabs[oldIndex];
var oldTab = this.tabs[oldIndex] || {};
var newTab = this.tabs[newIndex];
if (newTab.disabled) return;
this.activeTabIndex = newIndex;
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-tabs.common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f3cf9a9

Please sign in to comment.