Fix r67544 per CR: cancel event properly in TOC show/hide click handler