Skip to content

Commit

Permalink
update(ripple): renames 'md-active' to 'md-highlight' for ripples
Browse files Browse the repository at this point in the history
Renmae ripple `md-active` since it conflicted with tabs attribute.

Close angular#727.
  • Loading branch information
robertmesserle authored and ThomasBurleson committed Nov 22, 2014
1 parent 57f10f7 commit fca5376
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/config/template/index.template.html
Expand Up @@ -30,7 +30,7 @@ <h1 class="md-toolbar-tools" style="padding-top:25px;">

<button class="menu-item menu-title md-menu-item"
ng-click="menu.toggleSelectSection(section)"
md-active="menu.isSectionSelected(section)"
md-highlight="menu.isSectionSelected(section)"
md-ink-ripple="#bbb">
{{section.name}}
</button>
Expand All @@ -39,7 +39,7 @@ <h1 class="md-toolbar-tools" style="padding-top:25px;">
ng-show="menu.isSectionSelected(section)"
ng-repeat="page in section.pages"
ng-href="#{{page.url}}"
md-active="menu.isPageSelected(section, page)"
md-highlight="menu.isPageSelected(section, page)"
md-ink-ripple="#bbb">
<span ng-bind="page | humanizeDoc"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/core/services/ripple/ripple.js
Expand Up @@ -51,7 +51,7 @@ function InkRippleService($window, $timeout) {
counter = 0,
ripples = [],
states = [],
isActiveExpr = element.attr('md-active'),
isActiveExpr = element.attr('md-highlight'),
isActive = false,
isHeld = false,
node = element[0],
Expand Down

0 comments on commit fca5376

Please sign in to comment.