Skip to content

Commit c8c15d7

Browse files
committed
refactor(material/dialog): dialog name not read by sr on mac with chrome or firefox
Cleans up unused variables and comments. Fixes b/274674581
1 parent 01fa4b8 commit c8c15d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/dialog/dialog-container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ export class MatDialogContainer
145145
} else if (!os && /linux/.test(userAgent)) {
146146
os = 'linux';
147147
}
148-
// const platform = window.navigator.userAgent.platform
149148
return os;
150149
};
151150

@@ -175,6 +174,7 @@ export class MatDialogContainer
175174
}
176175
return;
177176
};
177+
178178
ngOnInit() {
179179
this._setAriaLabel();
180180
}

0 commit comments

Comments
 (0)