homeflowjs 0.13.24 → 0.13.25
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
@@ -93,6 +93,13 @@ export default class GeonamesMap extends DraggableMap {
|
|
93
93
|
this.map.on('dragend', () => {
|
94
94
|
store.dispatch(setPlace(null))
|
95
95
|
store.dispatch(setSearchField({ q: '' }));
|
96
|
+
|
97
|
+
// Remove the suggested locations links as they no longer represent the
|
98
|
+
// initially searched location
|
99
|
+
const locationLinksElement = document.querySelector('.js-suggested-destinations');
|
100
|
+
if (locationLinksElement && Homeflow.get('hide_location_links_on_drag')) {
|
101
|
+
locationLinksElement.style.display = 'none';
|
102
|
+
}
|
96
103
|
});
|
97
104
|
|
98
105
|
/**
|