drop console.log

This commit is contained in:
Martin Raifer
2022-07-19 13:12:39 +02:00
parent 6526d655f6
commit 6f5a195188
-1
View File
@@ -198,7 +198,6 @@ export function behaviorHash(context) {
if (q.map) {
behavior.hadLocation = true;
} else if (!q.id && prefs('map-location')) {
console.log('update map location from local storage');
// center map at last visited map location
const mapArgs = prefs('map-location').split('/').map(Number);
context.map().centerZoom([mapArgs[2], Math.min(_latitudeLimit, Math.max(-_latitudeLimit, mapArgs[1]))], mapArgs[0]);