Skip to content

Commit 18997db

Browse files
Update src/dialog/dialog.component.ts
Co-Authored-By: cal-smith <[email protected]>
1 parent 76f6063 commit 18997db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialog/dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class Dialog implements OnInit, AfterViewInit, OnDestroy {
138138
ngAfterViewInit() {
139139
const dialogElement = this.dialog.nativeElement;
140140
// split the wrapper class list and apply separately to avoid IE from
141-
// 1. throwing an error due to asigning a readonly property (classList)
141+
// 1. throwing an error due to assigning a readonly property (classList)
142142
// 2. throwing an SyntaxError due to passing an empty string to .add
143143
if (this.dialogConfig.wrapperClass) {
144144
for (const extraClass of this.dialogConfig.wrapperClass.split(" ")) {

0 commit comments

Comments
 (0)