Skip to content

Commit

Permalink
Merge pull request #1180 from shopware/DX-483/update-sample-code
Browse files Browse the repository at this point in the history
Code correction to bootstrap 5 syntax
  • Loading branch information
sushmangupta authored Nov 13, 2023
2 parents 9bc06a9 + 3ce39e1 commit 903125b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/plugins/plugins/storefront/using-a-modal-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Here is a basic implementation as an example. We override the `base_main_inner`
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand All @@ -51,7 +51,7 @@ Here is a basic implementation as an example. We override the `base_main_inner`
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
Expand Down

0 comments on commit 903125b

Please sign in to comment.