Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   $popup.click(function (e) {
  2.     $target = $(e.target);
  3.  
  4.     if ($target.is('.close') || $target.is('.popup__layout')) {
  5.       $popup.fadeOut();
  6.     }
  7.   });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement