We are using event click
to catch click on links and load content via ajax.
But event happens also on right mouse and wheel clicks.
How to process only left?
confused
// jquery.coyod-engine-0.5.0.js
$(document).click(function(e){
var t = $(e.target);
if(t.hasClass('aj'))
{
e.stopPropagation();
e.preventDefault();
showContent(t.attr('href'));
return false;
}
return true;
});