JavaScript: don’t remove element before all events occurs

Sometimes really simple bug can be very hard to find – and expensive to have. In this case I’m talking about business costs – a lot of some specific events for a marketing campaign wasn’t tracked properly. The Problem Tracking of “clicked” events doesn’t work for some buttons (mostly responsible for closing modals/alerts). The Context… Read more JavaScript: don’t remove element before all events occurs