Skip to content

Commit

Permalink
Update dataset_map_base.html
Browse files Browse the repository at this point in the history
h.url -> h.url_for in map snippet
  • Loading branch information
benjwadams authored Jun 6, 2024
1 parent 8c253c7 commit 931074c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#}

{% set map_config = h.get_common_map_config() %}
<div class="dataset-map" data-module="dataset-map" data-extent="{{ h.reduce_to_point(extent) }}" data-module-site_url="{{ h.dump_json(h.url('/', locale='default', qualified=true)) }}" data-module-map_config="{{ h.dump_json(map_config) }}">
<div class="dataset-map" data-module="dataset-map" data-extent="{{ h.reduce_to_point(extent) }}" data-module-site_url="{{ h.dump_json(h.url_for('/', locale='default', qualified=true)) }}" data-module-map_config="{{ h.dump_json(map_config) }}">
<div id="dataset-map-container"></div>
</div>

Expand Down

0 comments on commit 931074c

Please sign in to comment.