]> git.openstreetmap.org Git - rails.git/commitdiff
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 6b902587ec58bfb619b59ec9eb4613b109955f2e..834eeb75b9b332b190526e3abd1239f29e3df93c 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;