Skip to content

Commit

Permalink
Pass through photo_overlay parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jun 17, 2019
1 parent 7ee554e commit 7fb85f1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/assets/javascripts/edit/id.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ $(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.source) params.source = hashParams.source;
if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
if (hashParams.offset) params.offset = hashParams.offset;
if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
if (hashParams.hashtags) params.hashtags = hashParams.hashtags;
if (hashParams.locale) params.locale = hashParams.locale;
if (hashParams.maprules) params.maprules = hashParams.maprules;
if (hashParams.offset) params.offset = hashParams.offset;
if (hashParams.photo_overlay) params.photo_overlay = hashParams.photo_overlay;
if (hashParams.presets) params.presets = hashParams.presets;
if (hashParams.source) params.source = hashParams.source;
if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;

if (id.data("gpx")) {
params.gpx = id.data("gpx");
Expand Down

0 comments on commit 7fb85f1

Please sign in to comment.