projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
366a9e9
)
Add iD hashtags parameter
author
Bryan Housel
<bryan@mapbox.com>
Fri, 25 Aug 2017 20:24:19 +0000
(16:24 -0400)
committer
Bryan Housel
<bryan@mapbox.com>
Fri, 25 Aug 2017 20:24:19 +0000
(16:24 -0400)
app/assets/javascripts/edit/id.js.erb
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/edit/id.js.erb
b/app/assets/javascripts/edit/id.js.erb
index 6b902587ec58bfb619b59ec9eb4613b109955f2e..834eeb75b9b332b190526e3abd1239f29e3df93c 100644
(file)
--- a/
app/assets/javascripts/edit/id.js.erb
+++ b/
app/assets/javascripts/edit/id.js.erb
@@
-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;