Skip to content

Commit e629898

Browse files
committed
added comment to change commit to the right username
1 parent dd843ee commit e629898

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
@@ -181,6 +181,8 @@ export class MdDialog {
181181

182182
if (index > -1) {
183183
this._openDialogs.splice(index, 1);
184+
185+
// no open dialogs are left, call next on afterAllClosed Subject
184186
if (!this._openDialogs.length) {
185187
this._afterAllClosed.next();
186188
}

0 commit comments

Comments
 (0)