$(".container").on("contextmenu", ".photos-bottom .albums li", function(e) { $('html').bind('click', function (event) { alert(id); }); return false; });
when I right-clicked (for the context menu) several times, and then clicked html once, it triggers a warning the number of times I right-clicked.
So, if I right-clicked once, then left-clicked, it will pop up once. If I right-click three times, then left-click, it will pop up three times.
Why is this so?
source share