Skip to content

Commit

Permalink
[IMPROVE] Prevent gallery to close when clicking on a non-zoomable im…
Browse files Browse the repository at this point in the history
…age (#21854)
  • Loading branch information
Douglas Fabris authored May 10, 2021
1 parent c30a51f commit 626fee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/ui/client/views/app/photoswipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Meteor.startup(() => {
showHideOpacity: true,
counterEl: false,
shareEl: false,
clickToCloseNonZoomable: false,
};

const createEventListenerFor = (className) => (event) => {
Expand Down

0 comments on commit 626fee3

Please sign in to comment.