mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-21 05:04:31 +00:00
Fixes #471, slight panning after selecting
This commit is contained in:
@@ -10,7 +10,7 @@ iD.Hash = function() {
|
||||
var args = (q.map || '').split("/").map(Number);
|
||||
if (args.length < 3 || args.some(isNaN)) {
|
||||
return true; // replace bogus hash
|
||||
} else {
|
||||
} else if (s !== formatter(map).slice(1)) {
|
||||
map.centerZoom([args[2],
|
||||
Math.min(lat, Math.max(-lat, args[1]))],
|
||||
args[0]);
|
||||
|
||||
Reference in New Issue
Block a user