Skip to content

Commit

Permalink
fix: 이미지 팝업 주석해제
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinminjin committed Apr 17, 2024
1 parent b37c706 commit 4e4613e
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 4e4613e

Please sign in to comment.