Skip to content

Commit

Permalink
Fix modal close button
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisfunke committed Mar 21, 2023
1 parent 1447e6e commit a599303
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions IHP/Modal/ViewFunctions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ renderModalHeader :: Text -> Text -> Html
renderModalHeader title closeUrl = [hsx|
<div class="modal-header">
<h5 class="modal-title" id="modal-title">{title}</h5>
<a href={closeUrl} class="btn-link close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">{preEscapedText "&times;"}</span>
</a>
<a href={closeUrl} class="btn-close" data-dismiss="modal" aria-label="Close"></a>
</div>
|]

Expand Down

0 comments on commit a599303

Please sign in to comment.