Skip to content

Commit 24cad4f

Browse files
committed
fix
1 parent 872ed88 commit 24cad4f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/material/slide-toggle/slide-toggle.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@
5353
</span>
5454
</button>
5555

56-
@if (hideLabel) {
57-
<div class="aria-hidden" [attr.id]="_labelId">
58-
<ng-content></ng-content>
59-
</div>
60-
} @else {
56+
@if (!hideLabel) {
6157
<!--
6258
Clicking on the label will trigger another click event from the button.
6359
Stop propagation here so other listeners further up in the DOM don't execute twice.

0 commit comments

Comments
 (0)