theFirehoseProject/chess — pull request #26 by nannigan (2014-12-29 18:40:25+00:00)
Title: fix move click target

The javascript to get the data attribute from the td whether or not there was a piece/img in the cell is now cleaner, just uses the .closest() jquery method to select the td always. It(.closest) starts with the calling element so it can get itself as when there is no piece/img in the cell, but when there is an image it will traverse to the td.
NOTE- I realized my 'scrat