Skip to content

Commit bbbc87f

Browse files
devversionjelbourn
authored andcommitted
fix(slide-toggle): fix runtime exception for incorrect mousedown binding. (#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.
1 parent fad4ef5 commit bbbc87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ let nextId = 0;
3939
'[class.md-disabled]': 'disabled',
4040
// This md-slide-toggle prefix will change, once the temporary ripple is removed.
4141
'[class.md-slide-toggle-focused]': '_hasFocus',
42-
'(mousedown)': 'setMousedown()'
42+
'(mousedown)': '_setMousedown()'
4343
},
4444
templateUrl: 'slide-toggle.html',
4545
styleUrls: ['slide-toggle.css'],

0 commit comments

Comments
 (0)