Skip to content

Commit

Permalink
docs upd
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Feb 1, 2023
1 parent a2e00a9 commit 2ca18bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lightbox.on('beforeOpen', () => {
pswp.close();

// instantly close and destroy the PhotoSwipe
pswp.close();
pswp.destroy();

// zoom slide to
pswp.currSlide.zoomTo(
Expand Down

0 comments on commit 2ca18bc

Please sign in to comment.