mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 09:34:04 +02:00
simplify map location restore, see #9146
This commit is contained in:
+1
-1
@@ -354,7 +354,7 @@ export function uiInit(context) {
|
||||
|
||||
ui.hash = behaviorHash(context);
|
||||
ui.hash();
|
||||
if (!ui.hash.hadHash) {
|
||||
if (!ui.hash.hadLocation) {
|
||||
map.centerZoom([0, 0], 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user