Skip to content

Commit 4947b0b

Browse files
committed
added comment to change commit to the right username
1 parent 9179128 commit 4947b0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/dialog/dialog.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ export class MdDialog {
174174

175175
if (index > -1) {
176176
this._openDialogs.splice(index, 1);
177+
178+
// no open dialogs are left, call next on afterAllClosed Subject
177179
if (!this._openDialogs.length) {
178180
this._afterAllClosed.next();
179181
}

0 commit comments

Comments
 (0)