Home
last modified time | relevance | path

Searched hist:"5675 e46e95889fb28aff4062c093dba0f879e5f5" (Results 1 – 1 of 1) sorted by relevance

/webtrees/resources/views/
H A Dindividual-page.phtml5675e46e95889fb28aff4062c093dba0f879e5f5 Fri Jun 05 20:50:55 UTC 2020 miqrogroove <1371835+miqrogroove@users.noreply.github.com> Fix Places Map Load Failure (#3294)

* Fix Places Map Load Failure

Because the XHR script sometimes runs prior to rendering the osm-map element, it is necessary to bind the _buildMapData to a different event named shown.bs.tab, and then unbind it later so it won't run more than one time.

* Make sure tab is ready in both cases.

Looks like it's possible for shown.bs.tab to fire before calling _drawMap, in which case registering the event doesn't work anyway.

* Simple But Slower Solution

Just change the map event from `show` to `shown`.

* Revert tab.phtml

* Fix Map Loading with Fancy fisharebest Code