Hey. There is the following structure:
<div class="parent"> <div class="child"> </div> </div> The element with the class .parent absolutely .parent . An element with a .child class is .child relatively. I hung the click event on $('window') and checked what the target is ( e.target ). So, when I click on the parent element, the console displays that I clicked on the child element .child . Why it happens?