Skip to content

Commit 1dc7b03

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

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
@@ -139,7 +139,7 @@ export class Dialog implements OnInit, AfterViewInit, OnDestroy {
139139
const dialogElement = this.dialog.nativeElement;
140140
// split the wrapper class list and apply separately to avoid IE from
141141
// 1. throwing an error due to assigning a readonly property (classList)
142-
// 2. throwing an SyntaxError due to passing an empty string to .add
142+
// 2. throwing a SyntaxError due to passing an empty string to `add`
143143
if (this.dialogConfig.wrapperClass) {
144144
for (const extraClass of this.dialogConfig.wrapperClass.split(" ")) {
145145
dialogElement.classList.add(extraClass);

0 commit comments

Comments
 (0)