Fix fragile tile position lookup
authorRaphaël Jakse <raphael.trivabble@jakse.fr>
Thu, 8 Oct 2020 19:59:58 +0000 (21:59 +0200)
committerRaphaël Jakse <raphael.trivabble@jakse.fr>
Thu, 8 Oct 2020 20:03:56 +0000 (22:03 +0200)
commit1f9e06201450e5afa72ee844e7af45c043d3541c
treeed0123ea42033f5068e4f033d40add0ae0049080
parentcdd2ca777aae8752dc4c5f72e3c260b3112763ba
Fix fragile tile position lookup

This code didn't work when Trivabble was served as text/html, which adds
a <tbody> tag in the DOM, while this tag is not added when Trivabble is
served as application/xhtml+xml.
public/trivabble.js