docs: function(e) {
  		//Only handle left click.
  		if(e.which !== 1 && e.button !== 0) {
  			return;
  		}
  
  		var link = findParentLink(e.target);
  
  		//The click did not happen inside a link.
  		if(!link) {
  			return;
  		}
  
  		if(handleLink(link)) {
  			e.preventDefault();
  		}
  	}