Jquery stopPropagation

Ejemplo:
jquery-stoppropagation


$(".carrito").on("click", function(event){
        event.stopPropagation();
});

$("#dialog_cart").on("click", function(){
        closeCartHeader();
});

Créditos aSergio Melendez

post-author