Add iD disable_features parameter
authorBryan Housel <bryan@mapbox.com>
Fri, 10 Nov 2017 20:57:37 +0000 (15:57 -0500)
committerBryan Housel <bryan@mapbox.com>
Fri, 10 Nov 2017 20:57:37 +0000 (15:57 -0500)
app/assets/javascripts/edit/id.js.erb

index 834eeb7..9831171 100644 (file)
@@ -20,6 +20,7 @@ $(document).ready(function () {
 
     if (hashParams.background) params.background = hashParams.background;
     if (hashParams.comment) params.comment = hashParams.comment;
+    if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
     if (hashParams.hashtags) params.hashtags = hashParams.hashtags;
     if (hashParams.offset) params.offset = hashParams.offset;
     if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;