Skip to content

Commit

Permalink
fix(slide-toggle): fix runtime exception for incorrect mousedown bind…
Browse files Browse the repository at this point in the history
…ing. (#828)

* Commit fad4ef5 made all internal functions prefixed with an underscore.
  The commit did accidentally miss to add the underscore the `(mousedown)` host binding function, which
  causes a Runtime Exception now.
  • Loading branch information
devversion authored and jelbourn committed Jul 7, 2016
1 parent fad4ef5 commit bbbc87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/slide-toggle/slide-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let nextId = 0;
'[class.md-disabled]': 'disabled',
// This md-slide-toggle prefix will change, once the temporary ripple is removed.
'[class.md-slide-toggle-focused]': '_hasFocus',
'(mousedown)': 'setMousedown()'
'(mousedown)': '_setMousedown()'
},
templateUrl: 'slide-toggle.html',
styleUrls: ['slide-toggle.css'],
Expand Down

0 comments on commit bbbc87f

Please sign in to comment.