Skip to content

Commit e7f4e89

Browse files
committed
Remove console.logs
1 parent d048b92 commit e7f4e89

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

web-bundle/src/main/resources/com/graphhopper/maps/js/main-template.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ $(document).ready(function (e) {
190190
// https://github.com/defunkt/jquery-pjax/issues/143#issuecomment-6194330
191191

192192
var state = History.getState();
193-
console.log(state);
194193
initFromParams(state.data, true);
195194
});
196195
}
@@ -876,7 +875,6 @@ function routeLatLng(request, doQuery) {
876875
if (!doQuery && History.enabled) {
877876
// 2. important workaround for encoding problems in history.js
878877
var params = urlTools.parseUrl(urlForHistory);
879-
console.log(params);
880878
params.do_zoom = doZoom;
881879
// force a new request even if we have the same parameters
882880
params.mathRandom = Math.random();

web-bundle/src/main/resources/com/graphhopper/maps/js/map.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,6 @@ module.exports.addElevation = function (geoJsonFeature, details, selectedDetail,
303303
var selectedDetailIdx = -1;
304304
for (var detailKey in details) {
305305
detailIdx++;
306-
// strangely without this console.log the detail-selection does not work (tried FF and Chrome)
307-
// no idea, just keeping it for now...
308-
console.log(detailIdx, detailKey);
309306
if (detailKey === selectedDetail)
310307
selectedDetailIdx = detailIdx;
311308
GHFeatureCollection.push(sliceFeatureCollection(details[detailKey], detailKey, geoJsonFeature));

0 commit comments

Comments
 (0)