×
1 / 6
2 / 6
3 / 6
4 / 6
5 / 6
6 / 6
❮
❯
document.addEventListener('DOMContentLoaded', function () {
const pinup = document.querySelector('mothers_day_pinup ,.mothers_day_pinup_c');
// Function to hide the pinup
function hidePinup(event) {
// Check if the click is outside the pinup
if (!pinup.contains(event.target)) {
pinup.classList.add('hidden');
}
}
// Add click event listener to the document
document.addEventListener('click', hidePinup);
});