Add iD hashtags parameter
authorBryan Housel <bryan@mapbox.com>
Fri, 25 Aug 2017 20:24:19 +0000 (16:24 -0400)
committerBryan Housel <bryan@mapbox.com>
Fri, 25 Aug 2017 20:24:19 +0000 (16:24 -0400)
app/assets/javascripts/edit/id.js.erb

index 6b90258..834eeb7 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.hashtags) params.hashtags = hashParams.hashtags;
     if (hashParams.offset) params.offset = hashParams.offset;
     if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;