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:
Bryan Housel 2015-11-23 14:00:25 -05:00
parent c56bf5677a
commit 33b5af5c85

View file

@ -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 };