The best answer can be something close to this.
function myFun (event) {
if (event.data) {
display();
}
return event.stopPropagation();
}
$('.one').on('click', true, myFun);
$('.two').on('click', myFun);