We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb4dcc commit 7fa85aeCopy full SHA for 7fa85ae
src/actions/index.js
@@ -244,6 +244,10 @@ export function reverse() {
244
if (state.destination.geometry) dispatch(originPoint(state.destination.geometry.coordinates));
245
if (state.origin.geometry) dispatch(destinationPoint(state.origin.geometry.coordinates));
246
if (state.origin.geometry && state.destination.geometry) dispatch(fetchDirections());
247
+ const suggestions = document.getElementsByClassName('suggestions');
248
+ for (var i = 0; i < suggestions.length; i++) {
249
+ suggestions[i].style.visibility = 'hidden';
250
+ };
251
};
252
}
253
0 commit comments