Skip to content

Commit

Permalink
feat(tabs): adds support for label attribute without tab content
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle authored and JulianWielga committed Apr 1, 2015
1 parent 0598aa6 commit 0c32df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabs/js/tabsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
id: $mdUtil.nextUid()
},
tab = angular.extend(proto, tabData);
if (!angular.isString(tabData.template)) {
if (!tabData.template) {
ctrl.hasContent = false;
$element.addClass('md-no-tab-content');
}
Expand Down

0 comments on commit 0c32df2

Please sign in to comment.