jamietre/ImageMapster — comment on commit ecd7ec2cb88b1d13ae7cb6830d81bdc9a0e2f367
File: src/mapdata.js line 380
By jamietre:

This is the only change related to pull request #50. The problem was that "e.relatedTarget" can return an image in addition to an area. Normally this would be fine, but if mapKey is an attribute that is also found on the image, then "key" will be a value for a non-area attribute which causes problems.