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

Commit

Permalink
fix(ripple): fixes an error caused when clicking on disabled checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmesserle committed Dec 1, 2014
1 parent 51ec3dc commit 8a1718d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/ripple/ripple.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function InkRippleService($window, $timeout) {
elemIsHeld = ripples.length > 1 ? false : isHeld;
if (elemIsActive || state.animating || elemIsHeld) {
elem.addClass('md-ripple-visible');
} else {
} else if (elem) {
elem.removeClass('md-ripple-visible');
if (options.outline) {
elem.css({
Expand Down

0 comments on commit 8a1718d

Please sign in to comment.