{"push_id":590996189,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"abf31e6c8373623ab83bd131d0e64ce5a4ad43a0","before":"9609ad53dc0d9c78eb2c03851f4a8221203e3531","commits":[{"sha":"abf31e6c8373623ab83bd131d0e64ce5a4ad43a0","author":{"email":"706dd54f02069861fe1e3b1de07cd6c2ff1ba736@gabicoware.com","name":"Daniel Mueller"},"message":"Fix image map on article view\n\nElements w/o an enclosing <a> element were being ignored (e.g. <area>).\nSo, the touchEndedWithoutDragging method was refactored to:\n\n1. Look for an <a> ancestor in the past 10 ancestors[1]\n2. If one is found, try to send a bridge message which matches it[2]\n3. If no <a> ancestor exists, try to send a bridge message for the\nevent.target\n4. If 2 & 3 fail, send a fall-back bridge message\n\nThis should allow for proper functionality of:\n\n1. Links\n2. <area> elements w/in a map\n3. Images (going to image gallery)\n4. Edit buttons\n\n1: heuristic to prevent traversing all the parents\n2: See if/elseif code in maybeSendBridgeMessage()\n\nBug: T87080\nChange-Id: I8feb29dbb0072331d0be720d7d39790f84e3c651","distinct":true,"url":"https://api.github.com/repos/wikimedia/apps-ios-wikipedia/commits/abf31e6c8373623ab83bd131d0e64ce5a4ad43a0"}]}