homeflowjs 0.12.1 → 0.12.3

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.
@@ -105,7 +105,11 @@ const hfInitialize = () => {
105
105
  store.dispatch(setArticles(Homeflow.get('articles')));
106
106
  }
107
107
 
108
- if (pageRoute === 'properties#index') {
108
+ if (pageRoute === 'properties#index'
109
+ || pageRoute === 'counties#show'
110
+ || pageRoute === 'postcodes#show'
111
+ || pageRoute === 'locations#show'
112
+ ) {
109
113
  const searchFromFragment = parseFragment(window.location.pathname);
110
114
  const defaultStatus = store.getState().app.themePreferences.default_search_status;
111
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "JavaScript toolkit for Homeflow themes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -254,6 +254,7 @@ export default class DraggableMap {
254
254
  const radius = Homeflow.get('custom_clustering_radius') || 10;
255
255
 
256
256
  this.clusteringMarkerLayer = new L.MarkerClusterGroup({ maxClusterRadius: radius, showCoverageOnHover: false });
257
+ this.marker_layer = new L.MarkerClusterGroup({ maxClusterRadius: radius, showCoverageOnHover: false });
257
258
  this.nonClusteringMarkerLayer = L.featureGroup();
258
259
  }
259
260