Add iD walkthrough autostart parameter
authorBryan Housel <bryan@mapbox.com>
Fri, 7 Jul 2017 21:58:02 +0000 (17:58 -0400)
committerBryan Housel <bryan@mapbox.com>
Fri, 7 Jul 2017 21:58:02 +0000 (17:58 -0400)
app/assets/javascripts/edit/id.js.erb

index bedabb1..6b90258 100644 (file)
@@ -21,6 +21,7 @@ $(document).ready(function () {
     if (hashParams.background) params.background = hashParams.background;
     if (hashParams.comment) params.comment = hashParams.comment;
     if (hashParams.offset) params.offset = hashParams.offset;
+    if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
 
     if (id.data("gpx")) {
       params.gpx = id.data("gpx");