Checking the target of a row click event