homeflowjs 0.13.7 → 0.13.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "0.13.7",
3
+ "version": "0.13.8",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -304,9 +304,11 @@ export default class GeonamesMap extends DraggableMap {
304
304
  marker.on('mouseover', (e) => {
305
305
  if (!marker?.property) return;
306
306
 
307
+ const geoPopup = Homeflow.get('custom_geo_popup') || this.popup;
308
+
307
309
  L.popup({ closeButton: false, offset: [0, -40] })
308
310
  .setLatLng(e.latlng)
309
- .setContent(this.popup(marker))
311
+ .setContent(geoPopup(marker))
310
312
  .openOn(this.map)
311
313
  });
312
314