BrandwatchLtd/tabler — pull request #35 by aron (2014-02-10 12:15:45+00:00)
Title: Fix click handling on sortable columns

Currently if a sortable column uses child elements in a headerFormatter such as a `` this will not trigger the sort, because the handler is explicitly looking for an anchor.

We now check the click target and parent elements for the `.sort` class to fix this behaviour. Also we no longer prevent the default event unless we are actually handling the event ourselves. This allows the heading to contain other anchors that can open external urls etc.