Bug: 13370 Fix detecting td elements and fix catching minical clicks.

Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>