Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.addEventListener('click', (e) => {
- if(e.target == popupBg) {
- popupBg.classList.remove('active');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement