Don't update urlhash while in intro
This should cut down on the errant edits in Three Rivers, MI. Users getting stuck in walkthrough are probably refreshing their browser and returning to the location in the walkthrough where they got stuck.
This commit is contained in:
parent
c56bf5677a
commit
33b5af5c85
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
});
|
||||
|
||||
id.map().on('move.embed', parent.$.throttle(250, function() {
|
||||
if (id.inIntro()) return;
|
||||
var zoom = ~~id.map().zoom(),
|
||||
center = id.map().center(),
|
||||
llz = { lon: center[0], lat: center[1], zoom: zoom };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue