Skip to content

Commit

Permalink
fix(gallery): fix click on close button while an image is opened
Browse files Browse the repository at this point in the history
Fix #60

Change-Id: Ice90e00a0cc21e38edf02a1b4392da2a293b71c1
  • Loading branch information
andi34 committed Oct 28, 2022
1 parent 0a65f65 commit 12bf2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/pswp.template.php
Expand Up @@ -23,7 +23,7 @@
<!-- Controls are self-explanatory. Order can be changed. -->

<div class="pswp__counter"></div>
<button class="<?php echo $btnClass; ?> pswp__button pswp__button--close rotaryfocus" title="Close (Esc)"><i class="fa fa-times" aria-hidden="true"></i></button>
<button class="<?php echo $btnClass; ?> pswp__button pswp__button--close fa fa-times rotaryfocus" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share rotaryfocus" title="Share"><i class="fa fa-share-alt" aria-hidden="true"></i></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"><i class="fa fa-arrows-alt" aria-hidden="true"></i></button>
<button class="pswp__button pswp__button--zoom rotaryfocus" title="Zoom in/out"><i class="fa fa-search-plus" aria-hidden="true"></i></button>
Expand Down

0 comments on commit 12bf2ce

Please sign in to comment.