Skip to content

Commit

Permalink
Fixed modal onShow (#1155)
Browse files Browse the repository at this point in the history
Fixed onShown event on modals so that the event not will be fired 2 times anymore
  • Loading branch information
CodingDK authored and valorkin committed Oct 26, 2016
1 parent 859afb2 commit f74c1fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/modal/modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export class ModalDirective implements AfterViewInit, OnDestroy {
// this._addClassIn = true;
this.renderer.setElementClass(this.element.nativeElement, ClassName.IN, true);

this.onShown.emit(this);
const transitionComplete = () => {
if (this._config.focus) {
this.element.nativeElement.focus();
Expand Down

0 comments on commit f74c1fb

Please sign in to comment.