Skip to content

Commit

Permalink
fix(demo): fix close btns in nested modals
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSurmay authored and valorkin committed Jun 1, 2017
1 parent e28d821 commit 7ef989a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/src/app/components/+modal/demos/nested/nested.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ <h4 class="modal-title pull-left">Second modal</h4>
</div>
<div class="modal-body">
This is static modal <br>
<button type="button" class="btn btn-primary" (click)="childModall.show()">Open third modal</button>
<button type="button" class="btn btn-primary" (click)="thirdModal.show()">Open third modal</button>
</div>
</div>
</div>
</div>

<div class="modal fade" bsModal #childModall="bs-modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal fade" bsModal #thirdModal="bs-modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title pull-left">Third modal</h4>
<button type="button" class="close pull-right" aria-label="Close" (click)="childModal.hide()">
<button type="button" class="close pull-right" aria-label="Close" (click)="thirdModal.hide()">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down

0 comments on commit 7ef989a

Please sign in to comment.