Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(tabs): fixes size logic for centered tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Aug 4, 2015
1 parent a2ec308 commit 5722449
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 @@ -528,7 +528,7 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
}

function getMaxTabWidth () {
return elements.canvas.clientWidth;
return $element.prop('clientWidth');
}

/**
Expand Down

0 comments on commit 5722449

Please sign in to comment.