Skip to content

Commit

Permalink
Merge pull request #287 from microstudi/fix_map_override
Browse files Browse the repository at this point in the history
fix map override
  • Loading branch information
carlobeltrame authored Dec 18, 2023
2 parents 74a7e24 + ea1a007 commit 320368b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Builder < Decidim::Map::DynamicMap::Builder
# @see Decidim::Map::DynamicMap::Builder#javascript_snippets
def javascript_snippets
[
template.javascript_pack_tag("decidim/swisstopo")
template.javascript_pack_tag("decidim/swisstopo", defer: false)
].join
end
end
Expand Down
2 changes: 0 additions & 2 deletions app/views/decidim/shared/_static_map.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<h5>${title}</h5>
</div>
</template>
<%= stylesheet_link_tag "decidim/map" %>
<%= javascript_include_tag "decidim/map" %>
<% end %>
<% end %>
</div>
Expand Down

0 comments on commit 320368b

Please sign in to comment.