Skip to content

Commit

Permalink
fix: ImagePopup 관련 배포오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinminjin committed Apr 17, 2024
1 parent 6d0f4d4 commit 6fc21b8
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions _javascript/modules/components/img-popup.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
/**
* Set up image popup
*
* See: https://github.com/dimsemenov/Magnific-Popup
*/
// /**
// * Set up image popup
// *
// * See: https://github.com/dimsemenov/Magnific-Popup
// */

export function imgPopup() {
if ($('.popup') <= 0) {
return;
}
// export function imgPopup() {
// if ($('.popup') <= 0) {
// return;
// }

$('.popup').magnificPopup({
type: 'image',
closeOnContentClick: true,
showCloseBtn: false,
zoom: {
enabled: true,
duration: 300,
easing: 'ease-in-out'
}
});
}
// $('.popup').magnificPopup({
// type: 'image',
// closeOnContentClick: true,
// showCloseBtn: false,
// zoom: {
// enabled: true,
// duration: 300,
// easing: 'ease-in-out'
// }
// });
// }

0 comments on commit 6fc21b8

Please sign in to comment.