ui shouldn't crash if starting on a dynamic location or position
This commit is contained in:
parent
3c9fd6fb60
commit
6f4db73a8f
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ c3nav = {
|
|||
if ((a.origin && a.origin.id) !== (b.origin && b.origin.id)) return false;
|
||||
if ((a.destination && a.destination.id) !== (b.destination && b.destination.id)) return false;
|
||||
if (a.level !== b.level || a.zoom !== b.zoom) return false;
|
||||
if (a.center[0] !== b.center[0] || a.center[1] !== b.center[1]) return false;
|
||||
if (!!a.center !== !!b.center || a.center[0] !== b.center[0] || a.center[1] !== b.center[1]) return false;
|
||||
return true;
|
||||
},
|
||||
_build_state_url: function (state, embed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue