Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/habibutsu/Semantic-UI int…
Browse files Browse the repository at this point in the history
…o next
  • Loading branch information
jlukic committed Aug 14, 2015
2 parents 1ca7ed0 + 6aba684 commit 2f3ada3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/modules/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ $.fn.tab = function(parameters) {
tabPath = tabPath || activeTabPath;
tabPathArray = module.utilities.pathToArray(tabPath);
lastTab = module.utilities.last(tabPathArray);
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
return ($fullPathTab.length > 0)
? $fullPathTab
: $simplePathTab
Expand Down

0 comments on commit 2f3ada3

Please sign in to comment.