Bind to click event to handle truncation